Skip to content

Glossary: Go in Practice

Allocation

Also written: allocations, allocs/op, B/op

Memory a program asks for while running, which the garbage collector must later clean up. `-benchmem` shows B/op, the bytes allocated per run, and allocs/op, the number of allocations per run.

Where the book teaches it

Related terms

Garbage collectorMemory profileBenchmark