Skip to content

[TIME-TRAVEL] [FEAT] Add 'Snapshot Summary' to CLI --profile output #1025

@dotandev

Description

@dotandev

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)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions