Repository navigation
Conversation
…ells noise from a slow build; four plan tests load the game again - Rail.make (35_track.js): every plan of a loop costs it a town or a side of its last town, so the planning ends (fix by the streets thread; seeds 5150, 260429754 and 20261146 never came back, the start screen froze on such a seed). tools/rail.mjs test counts the plans. - tools/perf.lib.mjs: a difference counts when the turns of the two builds stand apart, eight turns each; two turns are a first look and a suspicion gets more turns of its scenario alone (ab). The same build failed 65% of the PR runs by the old rule. perf.yml keeps every turn's report as an artifact. - plan, villa, roomy tests: 09_core.js in their file lists (PADB); hut.test loads the whole game instead of a hand-kept list. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdrPyoU594YpAeAd6En
A world no longer hangs while its railway is planned; perf gate: noise is not a slow build Merge queue: build 487
Screenshots of build v487🚂 The world 20261146 with a house in a town is made and can be entered: the game froze for good while it planned the railway of the region next to it All of them are assets of the v487 release. |
⏱ Performance: this PR against mainScenarios of src/game/98_perf.js, the two builds by turns on one runner (tools/perf.mjs, CPU side, draws counted not drawn). ✅ No regression against main More turns to settle a suspicion: tunnel +2 (a difference counts when the turns of the two builds stand apart, 8 turns each).
Over budget (ms/frame, budget): drive Land.lightTick 12.71 > 1 · drive Land.gen 4.00 > 0 · flight Land.gen 1.05 > 0 · tunnel Land.lightTick 2.04 > 1 · drive Land.meshChunk 2.00 > 1 · tunnel Land.meshChunk 1.23 > 1 · tunnel Land.gen 0.10 > 0 · idle Town.update 1.05 > 1 Generated by Claude Code |

Requested by Anton · project thread "Green main and a merge queue"
One merge of the combined state: #526 as build 487 (a world no longer hangs while its railway is planned; the perf gate's verdict rule; plan, villa, roomy and hut tests load the game again).
Checked on this state:
tools/rail.mjs teston the three seeds that hung, the whole-source checks (undef, genv, dupkeys), and the page loaded 14 times with random start worlds without a stall.Generated by Claude Code