Skip to content

ci(bench): re-pin the Lynx background program after #1714 - #1722

Merged
trueadm merged 1 commit into
mainfrom
ci/lynx-background-repin
Oct 4, 2026
Merged

trueadm merged 1 commit into
mainfrom
ci/lynx-background-repin

Conversation

@trueadm

@trueadm trueadm commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This is a budget-only re-pin of one exact pin. It changes no code.

After #1717, the weekly lynx-bundle-size suite still fails, now in run.mjs:

Error: semantic checksum failed: background raw 288398 differs from 288390

run.mjs pins the background program's raw size exactly (===). #1710 set the pin to 288,390 from 77504c160c. #1714 then moved the universal hook cells into the owner kernel, which adds 8 raw bytes to the background program.

gate old measured new
NO_WORKLET_BUDGET.backgroundRaw (exact pin) 288,390 288,398 288,398

The preview and IFR main-thread gzip caps are unchanged and still pass: 83,743 against 83,774, and 89,405 against 89,436.

Attribution. With #1710's run.mjs, the suite passes at #1714's parent 4601dd3b4d and fails at #1714 (66c3deb69a) with 288,398. The value is the same on main 78ec8326a0, and the Linux Bench run on the #1717 branch (run 37217453718) measured the same raw bytes.

Validation

  • node benchmarks/bench.mjs lynx-bundle-size on main 78ec8326a0 plus this commit: exit 0. Both run.mjs and inventory.mjs pass.
  • node benchmarks/bench.mjs --quick --ratios lynx-bundle-size: exit 0, with no ratio guards breached.
  • pnpm format:files:check benchmarks/lynx-bundle-size/run.mjs
  • pnpm sync: no generated changes.
  • pnpm format:check, pnpm typecheck, and pnpm test were not run locally. This change edits one budget constant and its comment.

Risk / follow-ups

Provenance

  • An agent produced this diff (agent-authored)

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Note

Low Risk
Benchmark budget constant and comment only; no runtime, auth, or production behavior changes.

Overview
Re-pins the Lynx bundle-size benchmark’s exact background program raw-byte gate from 288_390 to 288_398 so lynx-bundle-size passes after #1714.

That runtime change moved universal hook cells into the owner kernel (+8 raw bytes on the background thread). Preview/IFR main-thread gzip caps are unchanged; only NO_WORKLET_BUDGET.backgroundRaw and its dated comment in run.mjs are updated—no product or compiler code.

Reviewed by Cursor Bugbot for commit b1576ad. Bugbot is set up for automated code reviews on this repo. Configure here.

#1714 moved the universal hook cells into the owner kernel, which adds
8 raw bytes to the background program. run.mjs pins that size exactly,
so the weekly lynx-bundle-size suite failed at 288,398 against the
288,390 that #1710 set. Budget value and comment only; the main-thread
caps are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent ci PR: CI or build pipeline labels Oct 4, 2026
@trueadm
trueadm marked this pull request as ready for review October 4, 2026 17:14
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Benchmark report

🟢 No budget breaches, no added work, and no timing changes beyond ±3%.

Compares 78ec8326a, the merge commit's first parent with 9ed332855 on the same runner. A byte value over its committed budget or any increase in a js-framework work counter fails this check. Wall time is a report: base and head samples alternate in one browser, and an operation is called slower or faster only when the 95% confidence interval of its ratio excludes ±3%. Workflow run

js-framework: 1k/10k row operations

All 20 timed operations (20 without a verdict)
target operation base ms head ms head/base 95% CI
octane-tsrx run 2.708 2.608 ±0.0% −3.4% … +0.0% ⚪ within noise
octane-tsrx replace 5.075 5.033 −1.8% −2.0% … +0.0% ⚪ within noise
octane-tsrx add 2.317 2.300 +0.0% −0.0% … +4.3% ⚪ within noise
octane-tsrx update 0.123 0.118 −1.5% −2.2% … −0.8% ⚪ within noise
octane-tsrx select 0.005 0.005 +0.0% −0.5% … +1.0% ⚪ within noise
octane-tsrx swap 0.033 0.033 −1.4% −2.6% … −0.6% ⚪ within noise
octane-tsrx remove 0.016 0.016 −0.8% −1.5% … +3.3% ⚪ within noise
octane-tsrx runlots 22.483 24.225 +1.5% −2.3% … +3.8% ⚪ within noise
octane-tsrx select_lots 0.005 0.005 +0.5% −0.3% … +1.1% ⚪ within noise
octane-tsrx clear 39.783 38.025 −3.0% −5.4% … −1.1% ⚪ within noise
octane-jsx run 3.158 3.225 +1.3% ±0.0% … +3.3% ⚪ within noise
octane-jsx replace 5.542 5.600 −0.0% −1.7% … +0.8% ⚪ within noise
octane-jsx add 2.933 2.950 +0.0% −0.0% … +3.4% ⚪ within noise
octane-jsx update 0.238 0.254 +1.3% −0.7% … +4.6% ⚪ within noise
octane-jsx select 0.117 0.119 +0.6% ±0.0% … +1.5% ⚪ within noise
octane-jsx swap 0.219 0.219 +0.5% −0.5% … +1.7% ⚪ within noise
octane-jsx remove 0.169 0.171 −0.3% −0.9% … +0.6% ⚪ within noise
octane-jsx runlots 27.475 27.383 −1.5% −3.9% … +2.6% ⚪ within noise
octane-jsx select_lots 1.363 1.429 +2.5% +1.2% … +3.7% ⚪ within noise
octane-jsx clear 43.367 43.842 +1.6% +0.3% … +2.5% ⚪ within noise

All 64 work counters are unchanged.

Application bundle size (bytes)

target metric base head Δ
octane-tsrx bindings_js_gzip 240,871 240,859 −12 (−0.0%) 🟢
octane-tsrx bindings_js_brotli 205,103 205,092 −11 (−0.0%) 🟢
octane-tsrx bindings_app_gzip 121,728 121,716 −12 (−0.0%) 🟢
octane-tsrx bindings_app_brotli 101,740 101,729 −11 (−0.0%) 🟢

50 other measured values are unchanged.

Public-import reachability bundles (bytes)

No changes across 105 measured values.

@trueadm
trueadm merged commit c4fde38 into main Oct 4, 2026
52 checks passed
@trueadm
trueadm deleted the ci/lynx-background-repin branch October 4, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-authored Diff or issue body substantially produced by an AI agent ci PR: CI or build pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant