Files
Nim/nimsuggest
araq 93dc5e7ccd nimsuggest tester: only force a cold NIF cache for order-sensitive tests
The previous commit gave every test run a freshly-wiped --nimcache to make
sug/con result ordering deterministic under IC. But that forced both the
stdio and EPC variant of all 68 tests to start cold, paying IC's NIF-write
cost ~136 times with zero reuse. The suite went from ~6 min to ~12 min wall
clock and blew the 90-minute Azure job timeout (the job was cancelled
mid-nimsuggest-suite — not a hang; the tests pass).

Only two tests actually rank results by per-symbol usage counts (which aren't
serialized into NIF, so cold and warm orderings differ): tsug_typedecl and
ttype_decl. Force the cold cache for just those; every other test reuses the
warm cache. Suite is back to ~6:15 and green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 17:13:34 +02:00
..