#memory

Articles tagged “memory”

5 articles

The 30% is 46%, and it stops dead at 80 bytes

Go 1.27's size-specialised allocation is worth up to 46% on the pointer-containing path, not the 30% announced — and from 96 bytes up it is worth nothing.

Performance and measurement

Green Tea cut my GC time 63%, and raised it 39%

One heap shape lost 63% of its collector CPU and gained 14% throughput. Another gained 39% collector CPU and lost nothing. Same flag, same binary pair, same machine.

Runtime internals

The GOGC I set next to GOMEMLIMIT never fired

GOGC=100 with a 256 MiB limit produced exactly what GOGC=off produced: same collections, same CPU share, same throughput. The tighter rule binds, the other goes quiet.

Runtime internals

Arrow keys to move, Enter to open.