Skip to content

Add hot path trace visualization#53

Open
omercelik wants to merge 1 commit into
tsperf:mainfrom
omercelik:tsperf-hot-path-visualization
Open

Add hot path trace visualization#53
omercelik wants to merge 1 commit into
tsperf:mainfrom
omercelik:tsperf-hot-path-visualization

Conversation

@omercelik
Copy link
Copy Markdown

Summary

Adds a compact hot-path visualization for trace tree nodes so users can inspect the longest-running child chain without manually expanding deep trees.

  • add a hotPathById webview message and host-side response
  • compute the longest-duration child path with duration, type counts, child counts, and source position metadata
  • render the path as an inline bar chart from each trace node
  • add unit coverage for the hot-path selection logic

Closes #46.

Verification

  • pnpm typecheck
  • pnpm build
  • CI=1 pnpm test

@omercelik omercelik requested a review from danielroe as a code owner May 11, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

visualizations

1 participant