README
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:
- The minimum duration of an event in milliseconds
- The path to an existing trace file
- The path to a new, reduced trace file (will be silently overwritten)