Hermes Wiki

Performance Optimization

pprof, escape analysis, benchmarking, allocation-conscious code.

Why we need this / what value this brings

Go rewards allocation-awareness; understanding escape analysis explains a lot of 'why is this slow' surprises.

When to use this

Before any performance-motivated change — profile with pprof first.

How to use or implement this

go tool pprof for CPU/memory profiles, benchstat for comparing benchmark runs.

Research questions

  • (add as research surfaces open questions)

Empty folder — drop notes, links, and findings here as you research.

Hermes Wiki