Skip to Content
Getting StartedSample Projects

Sample projects

The repository ships four small, self-contained TypeScript projects in sample_projects/. Each is deliberately written to need a different kind of optimization, so together they exercise all four graph layers and every query command.

Every project is published as a live, interactive graph — no install required. Open a demo and pan, zoom, filter by node and edge kind, colour by community, and read the runtime hotspots, all in the browser.

ProjectStressesPlanted optimizationLive demo
text-kitStructural layer — EXPORTS, IMPORTS, READSDead exports to delete (dead-exports)webview_01 ↗
calcBehavioural layer — CALLS, INSTANTIATES, READS/WRITES — plus type/heritage (EXTENDS, IMPLEMENTS, OVERRIDES)Single-use helpers to inline (who-calls, blast-radius)webview_02 ↗
api-briefExternal-API surface — ExternalAPI / CALLS_EXTERNAL over three real public APIsSerialised awaits to parallelise (who-calls, blast-radius)webview_03 ↗
shop-sqliteSystem-level layer — Endpoint/HANDLES, ConfigFlag/READS_CONFIG, ExternalAPI — plus real CPU + disk/SQLReal SQL/disk/CPU optimization (hotspots, cost)webview_04 ↗

Each demo ships the fully enriched graph — community detection plus runtime self-time — with every file path deep-linking to the exact source on GitHub. See Browse the Graph for how to read what you are looking at.

Last updated on