0.1.0 • Published 3 years ago

@amcasey/ts-drop-shorter-than v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

If the file generated by tsc --generateTrace is too large to open in your visualizer of choice, this choice can help trim it down by dropping all events shorter than X milliseconds. Generally speaking, such short events are hard to analyze visually anyway.

The script accepts three arguments: 1. The minimum duration of an event in milliseconds 2. The path to an existing trace file 3. The path to a new, reduced trace file (will be silently overwritten)