Description
When generating flamegraphs, we should also provide a lightweight summary of state changes.
Requirements
- Update
internal/profile/generator.go.
- Add 'State Churn' info to the profile HTML (number of keys modified per frame).
- Allow clicking a frame in the flamegraph to jump to its snapshot ID.
Acceptance Criteria
- Interactive flamegraphs are enhanced with state context.
- No performance regression in profile generation.
Estimated File Changes: 2 (internal/profile/generator.go, internal/profile/template.html)