llms.txt: machine-readable documentation index. Markdown version of this page is also available.

Performance optimization

Profile Go applications and investigate memory use, struct layouts, and process dumps.

  • Profiling: Collect and analyze profiles of Go applications.
  • Escape analysis: Inspect compiler decisions about stack and heap allocations.

Also in this section