Skip to content

Commit 9be31e1

Browse files
docs: update build performance benchmarks (3.9.4) (#958)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 396a623 commit 9be31e1

2 files changed

Lines changed: 985 additions & 36 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -617,18 +617,18 @@ Codegraph also extracts symbols from common callback patterns: Commander `.comma
617617

618618
Self-measured on every release via CI ([build benchmarks](generated/benchmarks/BUILD-BENCHMARKS.md) | [embedding benchmarks](generated/benchmarks/EMBEDDING-BENCHMARKS.md) | [query benchmarks](generated/benchmarks/QUERY-BENCHMARKS.md) | [incremental benchmarks](generated/benchmarks/INCREMENTAL-BENCHMARKS.md) | [resolution precision/recall](tests/benchmarks/resolution/)):
619619

620-
*Last updated: v3.9.3 (2026-04-13)*
620+
*Last updated: v3.9.4 (2026-04-18)*
621621

622622
| Metric | Native | WASM |
623623
|---|---|---|
624-
| Build speed | **3.3 ms/file** | **15.9 ms/file** |
625-
| Query time | **30ms** | **42ms** |
626-
| No-op rebuild | **11ms** | **22ms** |
627-
| 1-file rebuild | **397ms** | **638ms** |
628-
| Query: fn-deps | **2.5ms** | **2.4ms** |
629-
| Query: path | **2.5ms** | **2.3ms** |
630-
| ~50,000 files (est.) | **~165.0s build** | **~795.0s build** |
631-
| Resolution precision | **90.7%** ||
624+
| Build speed | **3.2 ms/file** | **16.3 ms/file** |
625+
| Query time | **29ms** | **44ms** |
626+
| No-op rebuild | **10ms** | **21ms** |
627+
| 1-file rebuild | **400ms** | **64ms** |
628+
| Query: fn-deps | **2.5ms** | **2.2ms** |
629+
| Query: path | **2.4ms** | **2.2ms** |
630+
| ~50,000 files (est.) | **~160.0s build** | **~815.0s build** |
631+
| Resolution precision | **90.3%** ||
632632
| Resolution recall | **42.9%** ||
633633

634634
Metrics are normalized per file for cross-version comparability. Times above are for a full initial build — incremental rebuilds only re-parse changed files.
@@ -638,7 +638,7 @@ Metrics are normalized per file for cross-version comparability. Times above are
638638
| Language | Precision | Recall | TP | FP | FN | Edges | Dynamic |
639639
|----------|----------:|-------:|---:|---:|---:|------:|--------:|
640640
| javascript | 100.0% | 66.7% | 12 | 0 | 6 | 18 | 14/28 |
641-
| typescript | 100.0% | 75.0% | 15 | 0 | 5 | 20 ||
641+
| typescript | 93.8% | 75.0% | 15 | 1 | 5 | 20 ||
642642
| bash | 100.0% | 100.0% | 12 | 0 | 0 | 12 | 0/1 |
643643
| c | 100.0% | 100.0% | 9 | 0 | 0 | 9 ||
644644
| clojure | 80.0% | 26.7% | 4 | 1 | 11 | 15 ||

0 commit comments

Comments
 (0)