mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-05 15:08:44 +00:00
Even after only forcing a cold cache for the order-sensitive tests, every test still recompiled `system` from source into its own per-project cache — ~5s of cold start each, ~6 min for the suite, still too slow for CI. Point all tests at a single shared --nimcache so the standard library is compiled cold exactly once and every later test reuses those NIFs warm. The suite drops from ~6:15 to ~2:30 wall clock. Four tests break against warm NIFs and keep their own freshly-wiped cache: tsug_typedecl, ttype_decl and tdot4 rank results by per-symbol usage counts (not serialized into NIF, so warm vs cold orderings differ), and top_highlight SIGSEGVs when highlighting a warm-loaded module — a latent bug in the IC warm path that real (restarted) editor sessions can hit and that's worth fixing properly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>