In Golang, allocation, mutex and block profiles are cumulative. They only grow over time and show allocations that happened since the beginning of the running program.
In many cases, it's more useful to see the differences between two points in time.
This PR introduces godeltaprof that allows collecting the delta-profiles for memory, mutex, and block.
📝 Summary
In Golang, allocation, mutex and block profiles are cumulative. They only grow over time and show allocations that happened since the beginning of the running program.
In many cases, it's more useful to see the differences between two points in time.
This PR introduces
godeltaprof
that allows collecting the delta-profiles for memory, mutex, and block.📚 References
https://pkg.go.dev/github.com/grafana/pyroscope-go/godeltaprof#section-readme
CONTRIBUTING.md