reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/lazy_runtime_dependencies

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

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/extension/startup-performance.rq

community 32

community cluster

startup-performance.rq

file cluster

reqlan rq/extension

folder cluster

status: done

status cluster

tag: Not present

tag cluster

Printable page

Static print-friendly idea sheet.

Attributes

KeyValue
tests "../../packages/analytical/test/workspace-index-lazy-services.test.ts"
status done

Browse all attributes

Ancestor context

No ancestor chain recorded.

Outbound references

KindIdeaPathSnippet
file_reference ../../packages/analytical/src/index-store/index-diagnostics-store.ts packages/analytical/src/index-store/index-diagnostics-store.ts index-diagnostics-store.ts
file_reference ../../packages/analytical/src/index-store/sqlite-store.ts packages/analytical/src/index-store/sqlite-store.ts sqlite-store.ts
file_reference ../../packages/analytical/src/index-store/workspace-index.ts packages/analytical/src/index-store/workspace-index.ts workspace-index.ts
file_reference ../../packages/extension/esbuild.mjs packages/extension/esbuild.mjs esbuild.mjs

Inbound references

KindIdeaPathSnippet
references extension_startup_reliability reqlan rq/extension/startup-performance.rq lazy_runtime_dependencies

Unresolved references

KindIdeaPathSnippet
None

Local graph

Initialising graph…