perf(planning): accept the speed target and lower the hang-guard timeout #286

Closed
opened 2026-10-16 22:39:46 +02:00 by nessar · 1 comment
Owner

Parent

#279

What to build

Confirm the speed target and close out the performance work. The loaded year finishes under 10 seconds and every other scenario under 3 seconds, with the existing protocol in Node on the development machine. The relative gate's multipliers are tightened to the target, and the outer timeout drops from 300 seconds to about three times the expected run, as a hang guard only.

Acceptance criteria

  • With the existing protocol (one warm-up, two measured repetitions, 2 GiB heap, one worker), the loaded year is under 10 seconds and every other scenario under 3 seconds, recorded in the benchmark documentation.
  • The relative gate's multipliers match the target. The outer timeout is lowered to about three times the measured expected run, and the CI documentation is updated.
  • The CI benchmark passes on at least two runners with the lowered timeout.
  • If the target is not reached with exact optimizations, record the remaining gap and the profile breakdown, and leave this ticket open for a separate decision on search changes.
  • Note in the benchmark documentation whether ADR 0003's five-second target should be revisited for the loaded year under composable rules.

Blocked by

## Parent #279 ## What to build Confirm the speed target and close out the performance work. The loaded year finishes under 10 seconds and every other scenario under 3 seconds, with the existing protocol in Node on the development machine. The relative gate's multipliers are tightened to the target, and the outer timeout drops from 300 seconds to about three times the expected run, as a hang guard only. ## Acceptance criteria - [ ] With the existing protocol (one warm-up, two measured repetitions, 2 GiB heap, one worker), the loaded year is under 10 seconds and every other scenario under 3 seconds, recorded in the benchmark documentation. - [ ] The relative gate's multipliers match the target. The outer timeout is lowered to about three times the measured expected run, and the CI documentation is updated. - [ ] The CI benchmark passes on at least two runners with the lowered timeout. - [ ] If the target is not reached with exact optimizations, record the remaining gap and the profile breakdown, and leave this ticket open for a separate decision on search changes. - [ ] Note in the benchmark documentation whether ADR 0003's five-second target should be revisited for the loaded year under composable rules. ## Blocked by - #284 - #285
nessar added the ready-for-agent label 2026-10-16 22:39:46 +02:00
nessar added a new dependency 2026-10-16 22:39:46 +02:00
Author
Owner

Done through #302 (PR #303, merged as 7fc3457).

  • Speed target: met under the current Bun protocol on the development machine. The loaded year takes 5.51 s and three years 3.11 s (multi-year target relaxed to 5 s by ADR 0010); every other scenario is at or under 0.93 s. The record is in docs/benchmark/issue-302.md.
  • Gate: multipliers tightened to about 1.5× the new ratios. The hang guard drops from 600 s to 240 s (test timeout 210 s), and the CI docs are updated.
  • CI with the lowered timeout: the benchmark job passed on srvhome in runs 105–108 (87–93 s) and on nessar-desktop in run 109, the develop merge (70 s).
  • ADR 0003: revisited in ADR 0010.
Done through #302 (PR #303, merged as 7fc3457). - **Speed target:** met under the current Bun protocol on the development machine. The loaded year takes 5.51 s and three years 3.11 s (multi-year target relaxed to 5 s by ADR 0010); every other scenario is at or under 0.93 s. The record is in docs/benchmark/issue-302.md. - **Gate:** multipliers tightened to about 1.5× the new ratios. The hang guard drops from 600 s to 240 s (test timeout 210 s), and the CI docs are updated. - **CI with the lowered timeout:** the benchmark job passed on srvhome in runs 105–108 (87–93 s) and on nessar-desktop in run 109, the develop merge (70 s). - **ADR 0003:** revisited in ADR 0010.
Sign in to join this conversation.