Skip to content

feat: report the duration breakdown as percentages - #10820

Merged
sheremet-va merged 5 commits into
mainfrom
feat/duration-breakdown
Aug 7, 2026
Merged

sheremet-va merged 5 commits into
mainfrom
feat/duration-breakdown

Conversation

@sheremet-va

Copy link
Copy Markdown
Member

Split out of #10710 (part 1 of 3, followed by the performance hints and vitest doctor).

The summary phases are now shares of tracked time instead of raw sums (which confusingly exceed the wall time because phases run in parallel workers):

Duration  3.76s (environment 79%, import 14%, transform 6%, tests 1%)

Sorted by cost, aggregate across all projects (per-project lines were considered and rejected — repos with 50+ projects would drown the summary; the per-project analysis lands with the hints PR).

Docs: improving-performance.md gained "Profile First" — what the percentages mean and which config lever each phase maps to.

@netlify

netlify Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit afc3d26
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6a75d9db5b46200008c4d01e
😎 Deploy Preview https://deploy-preview-10820--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sheremet-va
sheremet-va force-pushed the feat/duration-breakdown branch from cfcf684 to 4b54a1a Compare July 23, 2026 16:08
AriPerkkio
AriPerkkio previously approved these changes Jul 26, 2026

@AriPerkkio AriPerkkio left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea. 👍

Comment thread docs/guide/improving-performance.md Resolved
Comment thread docs/guide/improving-performance.md Resolved
Co-authored-by: Ari Perkkiö <[email protected]>
Comment thread docs/guide/improving-performance.md Resolved
AriPerkkio
AriPerkkio previously approved these changes Jul 27, 2026
@sheremet-va

Copy link
Copy Markdown
Member Author

@AriPerkkio sorry, there was a bug with transform because this PR was made before we changed how it's calculated 👀

@sheremet-va
sheremet-va merged commit c67d296 into main Aug 7, 2026
22 of 28 checks passed
@sheremet-va
sheremet-va deleted the feat/duration-breakdown branch August 7, 2026 13:21
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants