Skip to content

feat: compare trace run metrics#73

Draft
jianmosier wants to merge 2 commits into
tsperf:mainfrom
jianmosier:codex/tsperf-metrics-compare
Draft

feat: compare trace run metrics#73
jianmosier wants to merge 2 commits into
tsperf:mainfrom
jianmosier:codex/tsperf-metrics-compare

Conversation

@jianmosier
Copy link
Copy Markdown

Summary

  • add a helper for comparing two trace-run metrics.json artifacts
  • report wall time, exit code, trace JSON count, parse status, and stdout/stderr summary deltas
  • add tests covering positive and negative deltas

Stacked PR note

This is stacked on #70 (metrics.json artifact). Until #70 lands, this draft includes that artifact base commit plus the comparison helper commit.

Validation

  • pnpm exec vitest run test/traceRunComparison.test.ts test/traceRunMetrics.test.ts
  • pnpm typecheck

Scope

Draft PR for pure comparison plumbing only. It does not touch visualization, depth-limit highlighting, Windows cwd/drive behavior, virtualization, or trace-server work.

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.

1 participant