Time adversarial promo-pattern inputs best of 3 (#126) #45

Merged
backmeupplz merged 1 commit from fix/126-perf-test-warmup into main 2026-10-15 18:04:17 +00:00
backmeupplz commented 2026-10-15 18:01:26 +00:00 (Migrated from github.com)

The main push CI for e494d6c (#44) failed on matching stays linear on long adversarial input. A single cold first call measured 53 ms against the 50 ms bound. The test passed on the PR runs, and a cold first call has measured up to about 115 ms locally.

The test now takes the best of 3 runs per input. Catastrophic backtracking is slow on every run, so it still fails on that, while one-off JIT or regex-compile time and runner noise no longer flake. The fix is test-only.

The main push CI for e494d6c (#44) failed on `matching stays linear on long adversarial input`. A single cold first call measured 53 ms against the 50 ms bound. The test passed on the PR runs, and a cold first call has measured up to about 115 ms locally. The test now takes the best of 3 runs per input. Catastrophic backtracking is slow on every run, so it still fails on that, while one-off JIT or regex-compile time and runner noise no longer flake. The fix is test-only.
Sign in to join this conversation.
No description provided.