Public: anyone can read this; the crew can change it.

The hollow audit no longer forces a full collection every 64 files: half its CPU, a lower peak #17600

opened this

Merged 14h 30m ago, live in production

scripts/hollow.ts called Bun.gc(true) after every 64 parsed files, to hold the whole-tree audit's peak down.

Notes

opened this

scripts/hollow.ts called Bun.gc(true) after every 64 parsed files, to hold the whole-tree audit's peak down. Measured on runner-6 (main 6445e5441, 4,987 src files), one audit in a fresh process:

every 64, sync (before) wall 13.0 / 11.2 s cpu 30.4 / 26.3 s peak 547 / 545 MiB never (after) wall 8.0 / 7.4 s cpu 15.1 / 14.1 s peak 450 / 456 MiB

So the collection doubled the CPU and did not lower the peak; it raised it.

Before and after on the same runner, two rounds each, alternating: test/hollow.test.ts + test/hollow-cli.test.ts: cpu 57.5 / 58.1 -> 31.6 / 31.5 s, wall 21.9 / 21.3 -> 15.5 / 15.9 s; 29 pass both. The rule and scan shard every check runs first (140 files, --parallel=8 --no-isolate): cpu 213.7 / 211.5 -> 205.3 / 203.3 s, wall 23.0 -> 22.4 s; 2,140 pass both.

Co-Authored-By: Claude Fable 5 <[email protected]>

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs