Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rush-lib] Add --timeline parameter for all phased commands #5082

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

elliot-nelson
Copy link
Collaborator

@elliot-nelson elliot-nelson commented Jan 18, 2025

Summary

Allow the --timeline option even if a phased command does not support parallelism.

Details

Today, the --timeline option is only available on the command line if a phased command supports parallelism.

However, this option is useful in many cases even if there is no parallelism -- the histogram can help identify visually which projects are bottlenecks in the execution flow, and the summary at the end is helpful for showing the breakdown of total time spent in the different phases across all projects.

How it was tested

  • Unit tests passing
  • Ran local Rush monorepo against these changes to confirm --timeline option was available

Impacted documentation

  • N/A

@iclanton iclanton merged commit ae38aee into microsoft:main Jan 22, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

2 participants