Preview of trace view integration into TsPerf Type Complexity Tracer⚠️This is just a preview and will likely be removed once merged into the main projectUnless you are specifically wanting to test the preview, you should use the real extension published here:
🚧 It is a work in progress - help is wanted! 🚧 Real-time type checking estimatesTo avoid the overhead of launching a separate tsserver, it currently queries the VSCode language server to get information about tokens in an open file, and uses the timings of the responses as a proxy for the complexity of the types, following the pattern of Trace file view and metricsThe If the trace is run with a version of Newest features may be unpolished, unstyled, or even brokenThe goal of the preview is to get new functionality and data under the public eye as quickly as possible. There is much to learn about optimizing types and what data will be helpful to diagnose problems. Given that much of the data I can provide may not be useful, it seems best to let users decide what is useful and then polish that while dropping the extraneous information. CreditsBetter support for mono repos is on the roadmap. For now you can run traces for packages via the context menu in the file tree CreditsWe are grateful to Algora for creating the TSPerf Type Challenge and to its sponsors. Help wanted
LicensePublished under the MIT License. |