Files
Nim/nimsuggest
araq 7da96fac6b nimsuggest tester: share one NIF cache across tests to cut suite time
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>
2026-06-23 20:59:28 +02:00
..