The Go runtime/trace package is a powerful tool for understanding and troubleshooting Go programs. Execution traces can reveal hidden concurrency bottlenecks and allow developers to instrument their own programs. Previously, there were issues with high overhead, scalability, and analysis. However, recent releases of Go have addressed these problems, providing low-overhead tracing, scalable traces, flight recording, and a trace reader API.

6m read timeFrom go.dev
Post cover image
Table of contents
The Go BlogMore powerful Go execution traces

Sort: