Skip to content

feat: attach extended diagnostics to trace metrics#72

Draft
jianmosier wants to merge 2 commits into
tsperf:mainfrom
jianmosier:codex/tsperf-extended-diagnostics
Draft

feat: attach extended diagnostics to trace metrics#72
jianmosier wants to merge 2 commits into
tsperf:mainfrom
jianmosier:codex/tsperf-extended-diagnostics

Conversation

@jianmosier
Copy link
Copy Markdown

Summary

  • parse tsc --extendedDiagnostics output into structured counters, memory, and timing values
  • attach the parsed summary to the trace-run metrics.json artifact
  • cover common counters such as Types, Instantiations, Memory used, Parse/Bind/Check/Emit/Total time

Stacked PR note

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

Validation

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

Scope

Draft PR for compiler diagnostics parsing and metrics integration only. It avoids current visualization, depth-limit, Windows cwd/drive, virtualization, and 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