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

A snapshot's full collection is a named job, so a stall line says when it held the loop (#17629) #17780

opened this

Merged 7h 44m ago, live in production

In v0.7.720's first 14.7 minutes, 153 stalls and 94.1 s of blocked loop were nearly all the thread computing. In 52 of them (31.9 s) snapshot-stream was awaiting and no request ran. The candidate is the forced full collection in src/snapshot/settle.ts, but the lines could not say.

Notes

opened this

In v0.7.720's first 14.7 minutes, 153 stalls and 94.1 s of blocked loop were nearly all the thread computing. In 52 of them (31.9 s) snapshot-stream was awaiting and no request ran. The candidate is the forced full collection in src/snapshot/settle.ts, but the lines could not say.

Now Bun.gc(true) there runs inside during("snapshot-gc", …), so a stall it caused names it. When and how often it runs is unchanged, and the asked Bun.gc(false) is not timed. Not run locally: this pull's check is the first run.

🤖 Generated with Claude Code

Sign in to join this conversation.

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

Keyboard shortcuts

Docs