mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-05 15:08:44 +00:00
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>