20. Try it out!
20
Situation Action + -
Large static
data set
GOGC ➡ Smaller heap More CPU
Tiny heap,
rapid GC
GOGC Lower latency More RAM
One-shot
execution
GOGC=off Runs faster May explode
22. More information
22
Good explanation of GOGC and other settings
https://dave.cheney.net/tag/gogc
Really detailed history https://blog.golang.org/ismmkeynote