Idea detail
lazy_runtime_dependencies
reqlan rq/extension/startup-performance.rq:68
block
done
Summary
Base discovery must be cheap:
- Constructing `WorkspaceIndex` does not construct Langium / Chevrotain services; services are memoized on first parse.
- sql. js asm is not parsed as part of `main.cjs`; both index stores dynamically import the generated vendor bundle when a database first opens.
- Export / physics source is generated at build time rather than read via extension-runtime URLs.
The host bundle consequently fell from approximately 11. 2 MB to 2. 66 MB; sql. js occupies a separate approximately 8. 0 MB lazy vendor bundle.
workspace-index.ts
sqlite-store.ts
index-diagnostics-store.ts
esbuild.mjs
Attributes
Ancestor context
No ancestor chain recorded.
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | extension_startup_reliability | reqlan rq/extension/startup-performance.rq | lazy_runtime_dependencies |
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Initialising graph…