Skip to content

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

Merged
iclanton merged 2 commits intomicrosoft:mainfrom
elliot-nelson:enelson/add-timeline-param
Jan 22, 2025
Merged

[rush-lib] Add --timeline parameter for all phased commands#5082
iclanton merged 2 commits intomicrosoft:mainfrom
elliot-nelson:enelson/add-timeline-param

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