tsperf / tracer

A VSCode extension to measure type complexity within a project.
https://tsperf.dev
MIT License
158 stars 4 forks source link

Trace analysis and suggestions #42

Open typeholes opened 5 months ago

typeholes commented 5 months ago

It may be possible to scan for common performance issues in the traces and provide suggestions or auto fixes.

For example checking unions in contextual types had quadratic costs before https://github.com/microsoft/TypeScript/pull/58372 we could suggest upgrading or adding a satisfies if the typing does not actually need to be contextual.