Console Output for Task Timing with --summarize
Flag
#10161
ProductOfAmerica
started this conversation in
Ideas
Replies: 1 comment
-
It sounds like you could use You'll receive output like:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goals
Non-goals
Background
The
--summarize
flag was added to address the need for tracking task timing, which is excellent for understanding performance in a monorepo. However, the current implementation appears to be focused on writing this data to files in the.turbo/runs
directory.For persistent tasks (like dev servers), this approach doesn't work well as summary files aren't being created. Even for non-persistent tasks, having to check files after execution adds friction to the workflow.
When optimizing a monorepo's build performance, immediate visibility into timing results directly in the console would make the feedback loop faster and more intuitive. This is especially important in CI environments where log output is the primary interface.
Proposal
Enhance the
--summarize
flag to:--summarize
(console default) option and a--summarize=file
option for those who prefer only file outputExample console output could look like:
I'm happy to help with implementing this feature if guidance is provided on how the current timing system works.
Beta Was this translation helpful? Give feedback.
All reactions