Status: done (2026-11-22) Priority: 2 Size: M Design ref: docs/testing.md; backlog/VB-862.md Goal: Verify under 240 s of CPU with every rule still asserted, and no script over 5 s Acceptance criteria:
accounts 7.6, review-tools 6.1, saves 5.5, notable 5.1, skip 5.1, hay 5.0 at VB-862; one
that must is moved to the night with its small case left in verify, and docs/testing.md says so.relations (4.5) and trust (4.2) fail on the roomy island and keep 120 by 85; meadows (4.2) and
guardians (3.0) too. herds runs founders to the second spring twice; notable needs heirs to year 3.8 for its first cottage; accounts
holds two children of 3 years of heirs. About half of a simulating script’s CPU is V8’s compiler threads, so a script of a short run
pays more for its start than for its run: merging small scripts of one subject into one process is a lever too.main (301 to 239 at VB-862’s machine, this one 17% slower);
89 to 70 s of wall time, 4 at a time. Decided: TurboFan’s threshold raised to 20000 calls in the fast and integration tiers by a
preload (tests/lib/tiering.js, through NODE_OPTIONS so children have it), not per script; the night keeps V8’s defaults for the bench.
Close call: accounts compares the report’s run with the plain twin at year 1, not 3 (all its other assertions on 3 years). review-soil
split from review-tools. Over 5 s here at most accounts 4.7 to 5.6 (4.0 to 4.8 at VB-862’s rate).
CPU seconds per script, before -> after (one at a time; those changed by more than 1 s): review-tools 6.9 -> 3.0 (+ review-soil 4.0);
accounts 8.9 -> 5.1; hay 5.4 -> 3.7; regress 4.2 -> 2.7; saves 5.8 -> 4.3; skip 5.4 -> 4.0; herds 4.2 -> 2.9; trust 5.1 -> 3.8; waiting
3.3 -> 2.1; aims 3.6 -> 2.4; review-hours 3.7 -> 2.6; stores 4.3 -> 3.1; relations 4.8 -> 3.7; oxen 2.9 -> 1.8; layout 3.1 -> 2.0; head 3.0
-> 1.9; plaindata 3.8 -> 2.7. 165 of 220 scripts fell.