Skip to content

[rush] allow Stopwatch to track multiple distinct intervals #5148

Open
@aramissennyeydd

Description

@aramissennyeydd

Summary

Discussed in #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)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    General Discussions

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions