Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhanced trace files #2

Open
typeholes opened this issue May 12, 2024 · 1 comment
Open

enhanced trace files #2

typeholes opened this issue May 12, 2024 · 1 comment

Comments

@typeholes
Copy link
Collaborator

More data is needed in trace files to enable better performance analysis. For starters, adding a timestamp to types.json lets us report types created during a timeframe and associate them with their checked expressions. implementation here https://github.com/typeholes/TypeScript/tree/trace-data

Options for execution:

  1. Get a PR merged upstream into typescript. This is the preferred route.
  2. Distribute a patched typescript with tracer. The obvious downside is only having a single ts version
  3. Provide a code mod so users can build their preferred version with enhanced trace data
    a) possibly integrated into TS Version Switcher for ease of use.
@typeholes
Copy link
Collaborator Author

This is being addressed in the live-trace branch. No code mod will be needed

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

No branches or pull requests

1 participant