This package has been deprecated

Author message:

replaced by @typescript/analyze-trace

@amcasey/ts-analyze-trace
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

ts-analyze-trace

Tool for analyzing the output of tsc --generateTrace automatically, rather than following the steps here.

Note: The goal is to identify clear-cut hot-spots and provide enough context to extract a small repro. The repro can then be used as the basis of a bug report or a starting point for manual code inspection or profiling.

Usage

First, build your project with --generateTrace traceDir. Then, run npx ts-analyze-trace traceDir to see a sorted list of compilation hot-spots.

Extras

You can invoke analyze-trace directly to analyze a single trace (optionally, with types), rather than a whole directory.

You can use normalize-positions to convert file offsets to line-character pairs and skip past trivia (whitespace, comments, etc).

Readme

Keywords

none

Package Sidebar

Install

npm i @amcasey/ts-analyze-trace

Weekly Downloads

10

Version

0.1.9

License

MIT

Unpacked Size

60 kB

Total Files

14

Last publish

Collaborators

  • amcasey