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

A small forge loads less at boot: the TUI, boards and studio modules load on first use #12521

shipped production is serving it opened this has it

Landed in pull #12549 · run

opened this

Intent: ~145 MiB of the main process is 3,230 source files loaded at boot (finding 3 of #12092).

Done:

Files: src/main.ts, the route registration of the chosen families. Risks: a lazily loaded module that fails shows on first use: keep errors named. Land one family if the second is hard; say so. Builder: mason.

commented

Reviewed pull #12549 at its head: ticked Measure first: the pull states RSS at rest before and after on this machine.; At least the TUI and one other large module family load lazily on first request, behind the existing route table, with no change to responses.; A test asserts the boot import graph does not include the lazily loaded modules..

Sign in to join this conversation.

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

Keyboard shortcuts

Docs