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.
| Project | Stresses | Planted optimization | Live demo |
|---|---|---|---|
text-kit | Structural layer — EXPORTS, IMPORTS, READS | Dead exports to delete (dead-exports) | webview_01 ↗ |
calc | Behavioural layer — CALLS, INSTANTIATES, READS/WRITES — plus type/heritage (EXTENDS, IMPLEMENTS, OVERRIDES) | Single-use helpers to inline (who-calls, blast-radius) | webview_02 ↗ |
api-brief | External-API surface — ExternalAPI / CALLS_EXTERNAL over three real public APIs | Serialised awaits to parallelise (who-calls, blast-radius) | webview_03 ↗ |
shop-sqlite | System-level layer — Endpoint/HANDLES, ConfigFlag/READS_CONFIG, ExternalAPI — plus real CPU + disk/SQL | Real 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