Repository navigation
feat(perf-kit): add the Worker leads and keep rules from the startup A/B runs - #11479
Merged
IWANABETHATGUY merged 0 commit intoNov 4, 2026
Conversation
✅ Deploy Preview for rolldown-rs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://feat-perf-kit-worker-agent-leads-rolldown-rs.voidzero-docs.workers.dev (commit 450cdb4)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
IWANABETHATGUY
force-pushed
the
feat/perf-kit-worker-agent-leads
branch
from
November 4, 2026 09:30
affc3a0 to
450cdb4
Compare
IWANABETHATGUY
marked this pull request as ready for review
November 4, 2026 09:32
IWANABETHATGUY
requested review from
h-a-n-a,
hyfdev,
sapphi-red and
shulaoda
as code owners
November 4, 2026 09:32
shulaoda
approved these changes
Nov 4, 2026
shulaoda
added a commit
that referenced
this pull request
Nov 5, 2026
## [0.1.0] - 2026-11-05 ### 🚀 Features - perf-kit: add the Worker leads and keep rules from the startup A/B runs (#11479) by @IWANABETHATGUY - perf-kit: show module-scope calls and compare with the pinned build in the same Worker scan (#11415) by @IWANABETHATGUY - perf-kit: measure the deployed site and replay it for local builds (#11215) by @IWANABETHATGUY - perf-kit: diagnose chunk loading before FCP and LCP (#11214) by @IWANABETHATGUY - perf-kit: Cloudflare Worker startup mode (#11188) by @IWANABETHATGUY ### 🐛 Bug Fixes - perf-kit: Worker mode with nested rolldown, external bindings, redirects (#11498) by @IWANABETHATGUY - perf-kit: make Worker mode work on more app setups (#11414) by @IWANABETHATGUY ### 📚 Documentation - add build report and perf-kit in-depth pages (#11480) by @IWANABETHATGUY ### ⚙️ Miscellaneous Tasks - perf-kit: keep run details out of code comments (#11481) by @IWANABETHATGUY Co-authored-by: shulaoda <[email protected]>
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #11415.
These are the perf-kit changes from the Worker startup A/B runs. In each run, an agent lowered the startup CPU of a Worker app. One arm got only the task, and the other arm also got perf-kit. Each change below comes from a run where the perf-kit arm did worse than the task-only arm, or broke the app.
worker-scanleads. Imports of the main module that only code inside functions reads (the handlers), priced together and one at a time. Imports in the other app modules that onlyasyncfunctions read. Startup CPU by import, with a what-if estimate of GC and parse/compile by bytes. Packages that a chunk group loads at startup although only dynamic imports reach them.KEEPwhen the time stays within noise and startup lost 1% of its bytes or 10% of its modules. Beyond the 3 ms floor, the timing pairs must agree (4 of 5, 7 of 9).DurableObjectbreaks every RPC call on its stub, andfetchstill works, so a route check does not show it. A check run made this mistake before the rule existed.A check on three Worker apps outside these runs: with perf-kit, the agent did as well as without it on two apps and much better on the third.