rushstack
rushstack copied to clipboard
[rush] allow Stopwatch to track multiple distinct intervals
Summary
Discussed in https://github.com/microsoft/rushstack/pull/4680 - in some cases, a single Stopwatch that tracks a single time stamp isn't enough and you may want to track sub-spans. The specific use case would be to support timing the time to build and post to cache or restore from cache as separate trackable intervals.
Standard questions
Please answer these questions to help us investigate your issue more quickly:
| Question | Answer |
|---|---|
@microsoft/rush globally installed version? |
|
rushVersion from rush.json? |
|
useWorkspaces from rush.json? |
|
| Operating system? | |
| Would you consider contributing a PR? | |
Node.js version (node -v)? |
Sounds useful.