Every figure on this page comes from pinned open-source repositories, real CLI/MCP runs,
and self-reported client token accounting (Codex CLI gpt-6.1-sol). We measure
retrieval correctness, agent token efficiency, cold indexing, incremental git hooks,
multi-branch storage reclaim, unforced adoption, and competitor head-to-heads — keeping
dated historical runs strictly separate.
ripgrep (9.9× faster). tokio 821 ms; django hub 6.9 s.storage gc --apply + compact returns stores to base size.No LLM in the loop: runs directly against gcx query checking required file:line evidence, forbidden-evidence exclusion, ranking quality, and response payload budgets.
gcx query search. A green tile means that rank matched the pinned ground-truth file or symbol; gray tiles are other returned symbols; dashed tiles mean fewer than 10 hits existed in the token budget.django’s QuerySet or hono’s dispatch have only 1–2 ground-truth symbols in the entire repo, so Precision@5 (relevant hits ÷ 5) is naturally capped below 1.0 even under perfect ranking.ripgrep (Rust), requests (Python), hono (TypeScript), cobra (Go), gson (Java)
tokio (Rust), django (Python), next.js (TS), moby (Go), spring-boot (Java)
All 35 core tasks across 5 languages, comparing ordinary grep/read exploration against GitCortex v0.8.0. All 35/35 samples are valid and quality non-inferior (0 invalid, 0 regressions).
subgraph (−43.0%), impact (−41.3%), refactor (−37.7%), and callers (−36.0%, while lifting accuracy from 0.80 → 1.00)—avoid repeated grep-and-read loops across dozens of files.search & tour): Single-hop lexical lookup stays near grep parity (−3.8% uncached, +9.8% total tokens). GitCortex is designed to complement source search and tests, not replace plain grep on trivial lookups.| Action (n=5 each) | Quality | Total Δ | Uncached Δ |
|---|---|---|---|
| subgraph | 1.00 → 1.00 | −22.9% | −43.0% |
| impact | 1.00 → 1.00 | −25.7% | −41.3% |
| refactor | 1.00 → 1.00 | −24.8% | −37.7% |
| callers | 0.80 → 1.00 | −14.2% | −36.0% |
| architecture | 0.90 → 1.00 | −24.3% | −14.4% |
| search | 1.00 → 1.00 | +9.8% | −3.8% |
| tour | 0.90 → 0.90 | −15.9% | 0.0% |
| All 35 tasks | 0.943 → 0.986 | −19.4% | −27.7% |
| Repository (n=7 each) | Quality | Total Δ | Uncached Δ |
|---|---|---|---|
| gson (Java) | 1.00 → 1.00 | −22.5% | −46.7% |
| hono (TypeScript) | 0.93 → 1.00 | −30.0% | −32.7% |
| cobra (Go) | 0.93 → 0.93 | −29.3% | −28.4% |
| ripgrep (Rust) | 0.86 → 1.00 | −5.1% | −24.4% |
| requests (Python) | 1.00 → 1.00 | −11.2% | −3.1% |
| Aggregate (3.88M → 3.12M) | 0.943 → 0.986 | 1.22× geo | 1.38× geo |
Full-index bulk reconciliation (in-memory edge reconciliation + KuzuDB COPY FROM) cuts cold-index time dramatically. All measurements are local Apple Silicon runs on identical pinned commits with zero LLM calls.
3.13 s vs 15.08 s, 4.8× faster). Right panel compares against CodeGraph 1.5.0 on 5 large repos (50.9 s vs 206.2 s, 4.1× faster and 52% smaller disk).tokio (1.63 s) to CodeGraph on nextjs (158.45 s). A gentle power axis keeps small repos readable while preserving exact measured labels on every bar.moby: CodeGraph finishes faster (6.68 s / 109.6 MiB) because it skips vendored Go directories (36.8k nodes), whereas GitCortex indexed the entire tree including vendored packages (269.4k nodes / 1.07M edges).| Repository | GCX Nodes | GCX Edges | GCX Time | GCX Disk | Competitor | Comp. Time | Comp. Disk |
|---|---|---|---|---|---|---|---|
| ripgrep | 3,800 | 19,655 | 0.92 s | 14.2 MiB | Graphify 0.9.44 | 3.00 s | 14.9 MiB |
| requests | 1,099 | 4,067 | 0.40 s | 10.1 MiB | Graphify 0.9.44 | 1.45 s | 4.7 MiB |
| hono | 4,197 | 13,093 | 0.58 s | 11.5 MiB | Graphify 0.9.44 | 4.82 s | 7.5 MiB |
| cobra | 888 | 3,343 | 0.39 s | 10.2 MiB | Graphify 0.9.44 | 0.98 s | 3.9 MiB |
| gson | 4,707 | 26,249 | 0.84 s | 17.0 MiB | Graphify 0.9.44 | 4.83 s | 23.0 MiB |
| 5 Core Repos Total (4.8× faster than Graphify) | 3.13 s | 63.0 MiB | Graphify total | 15.08 s | 54.0 MiB | ||
| tokio | 11,236 | 76,163 | 1.63 s | 28.7 MiB | CodeGraph 1.5.0 | 3.56 s | 41.3 MiB |
| django | 48,548 | 267,527 | 5.28 s | 104.7 MiB | CodeGraph 1.5.0 | 8.15 s | 155.3 MiB |
| spring-boot | 93,461 | 377,799 | 9.43 s | 152.3 MiB | CodeGraph 1.5.0 | 29.34 s | 559.5 MiB |
| nextjs | 120,735 | 414,340 | 10.70 s | 137.4 MiB | CodeGraph 1.5.0 | 158.45 s | 635.1 MiB |
| moby * | 269,433 | 1,072,083 | 23.84 s | 297.7 MiB | CodeGraph 1.5.0 | 6.68 s | 109.6 MiB |
| 5 Big Repos Total (4.1× faster, 52% smaller disk) | 50.88 s | 720.8 MiB | CodeGraph total | 206.18 s | 1,500.8 MiB | ||
* On moby, CodeGraph finishes faster (6.68 s / 109.6 MiB) because it skips vendored Go directories and indexes 36,837 nodes / 120,384 edges, whereas GitCortex indexed the full repository tree (269,433 nodes / 1,072,083 edges).
Two real user pain points measured end-to-end on isolated git clones: 1-file edit + commit + gcx hook (plus revert verification), followed by creating & deleting 5 feature branches and running gcx storage gc --apply + gcx storage compact --apply.
4.17 s → 423 ms on ripgrep, >60 s timeout → 821 ms on tokio, and >60 s dense-hub crash → 6.87 s on django (15,217 incoming edges on query.py).gcx storage gc --apply + compact --apply reclaims 84.1–84.9% of disk space in 0.76–3.71 s, returning each store to its clean base footprint.lookup-symbol immediately after commit and disappeared completely after revert.| Repository (edited file) | Pre-fix hook | v0.8.0 add / del | Branch switch | 5-branch churn | After gc + compact | Reclaimed |
|---|---|---|---|---|---|---|
ripgrep (crates/core/main.rs) | 4,170 ms | 423 ms / 422 ms | 701 ms | 89.1 MiB | 14.2 MiB (0.76 s) | −84.1% |
tokio (tokio/src/sync/notify.rs) | >60 s timeout | 821 ms / 845 ms | 1.80 s | 189.7 MiB | 28.7 MiB (1.87 s) | −84.9% |
django (django/db/models/query.py, 15k in-edges) | >60 s / crash | 6.87 s / 6.56 s | 6.63 s | 676.2 MiB | 104.1 MiB (3.71 s) | −84.6% |
Every repo verified both symbol addition (lookup-symbol found the new probe symbol) and symbol removal after revert (lookup-symbol returned zero results).
Same model, same pinned commits, same evidence contracts. Detailed per-task tables and honest competitor wins live on vs Graphify and vs CodeGraph.
file:line citation with zero forbidden/wrong hits. GitCortex achieves 1.000 on both the 15-task core suite (15/15) and 10-task big-repo suite (10/10).nextjs-callers-normalize-page-path) and used slightly fewer total tokens overall (−20.3% vs −16.8%) while GitCortex led on uncached tokens (−23.5% vs −20.7%).48 runs (16 tasks = 10 graph + 6 restraint × 3 arms: baseline, gcx-bare, gcx-guide) plus 2 continuous multi-step coding episodes with hidden behavioral tests (Codex gpt-6.1-sol, medium reasoning).
gcx on 10 relationship tasks (middle), and shows restraint on 6 non-graph tasks where grep/reading is better (right).gcx-bare) was only discovered on 4/10 graph tasks. Installing the concise guide via gcx init lifted voluntary adoption to 10/10 (100%), lifted overall pass rate from 14/16 → 16/16, and kept false graph calls on restraint tasks at 0/6.--budget-tokens caps in the unforced harness, the guided agent made 55 thorough CLI calls and spent more uncached tokens (321k vs 196k). Always pair the guide with budgeted queries in cost-sensitive workflows.| Episode (hidden test suite) | Arm | Result | Adopted | GCX calls (err) | Repeat cmds | Total / Uncached tokens | Wall |
|---|---|---|---|---|---|---|---|
| requests-auth-redirect | baseline | 2/2 pass | no | 0 | 1 | 731.6k / 74.7k | 92.0 s |
| gcx-bare | 2/2 pass | no | 0 | 1 | 660.7k / 79.4k | 97.7 s | |
| gcx-guide | 2/2 pass | yes | 3 (2) | 0 | 1,154.2k / 117.5k | 133.0 s | |
| cobra-find-flags | baseline | 2/2 pass | no | 0 | 1 | 914.1k / 69.1k | 103.2 s |
| gcx-bare | 2/2 pass | no | 0 | 0 | 830.8k / 85.1k | 96.5 s | |
| gcx-guide | 2/2 pass | yes | 6 (1) | 0 | 1,036.0k / 168.2k | 106.6 s |
Captured prior to v0.8.0 on the 15-task impact/architecture/refactor suite across Codex (gpt-5.4-mini), Claude Code (Haiku), and Agy (Gemini 3.6 Flash).
find_callers cross-file diversity (PR #146): on dense hubs like django/db/models/query.py (QuerySet.filter), a single file could fill the entire caller budget and hide cross-file callers. Stratified file-diverse ranking brought the big-repo deterministic gate from 9/10 to 10/10.DETACH DELETE assertion crash/hang and O(N×M) Cypher name joins. Updating surviving nodes in place, bounding batch lookups by primary key, and threading uncommitted Imports in memory cut ripgrep hooks from 4,170 ms → 423 ms, tokio from >60 s → 821 ms, and eliminated the django crash/hang (6.9 s).COPY FROM brought django cold indexing down to 5.3 s and nextjs (120k nodes) to 10.7 s.Remaining known trade-offs (not hidden):
subgraph, impact, refactor, callers).moby cold indexing: GitCortex indexes vendored Go directories by default (269k nodes, 23.8 s, 298 MiB), whereas CodeGraph skips vendor dirs (36.8k nodes, 6.7 s, 110 MiB).