rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

[heft] Add `--trace` parameter to Heft to emit timeline trace in Chrome Trace Events format

Open dmichon-msft opened this issue 4 years ago • 0 comments

Summary

Adds support for heft --trace <command> to record a timeline view in Chrome Trace Events format of all tap invocations.

Details

Logs all tap invocations, listing the name of the plugin and of the hook. The stack view is a bit misleading due to the viewer assuming that durations that fully intersect other durations are sub-operations.

image

How it was tested

Running locally to compile rush-lib, and loading the output file into Edge Dev Tools.

dmichon-msft avatar Mar 27 '21 00:03 dmichon-msft