Skip to content

Commit a941fe0

Browse files
docs: update performance benchmarks (3.10.0) (#1095)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: carlos-alm <127798846+carlos-alm@users.noreply.github.com>
1 parent ee91788 commit a941fe0

4 files changed

Lines changed: 1130 additions & 67 deletions

File tree

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -617,19 +617,19 @@ 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.6 (2026-04-30)*
620+
*Last updated: v3.10.0 (2026-05-11)*
621621

622622
| Metric | Native | WASM |
623623
|---|---|---|
624-
| Build speed | **5.8 ms/file** | **28.3 ms/file** |
625-
| Query time | **47ms** | **43ms** |
626-
| No-op rebuild | **13ms** | **134ms** |
627-
| 1-file rebuild | **78ms** | **68ms** |
628-
| Query: fn-deps | **3.4ms** | **2.4ms** |
629-
| Query: path | **3.1ms** | **2.2ms** |
630-
| ~50,000 files (est.) | **~290.0s build** | **~1415.0s build** |
631-
| Resolution precision | **90.5%** ||
632-
| Resolution recall | **42.0%** ||
624+
| Build speed | **4.8 ms/file** | **18.1 ms/file** |
625+
| Query time | **50ms** | **38ms** |
626+
| No-op rebuild | **24ms** | **15ms** |
627+
| 1-file rebuild | **67ms** | **51ms** |
628+
| Query: fn-deps | **2.2ms** | **2.1ms** |
629+
| Query: path | **2.3ms** | **2.1ms** |
630+
| ~50,000 files (est.) | **~240.0s build** | **~905.0s build** |
631+
| Resolution precision | **90.7%** ||
632+
| 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.
635635

@@ -652,7 +652,7 @@ Metrics are normalized per file for cross-version comparability. Times above are
652652
| gleam | 100.0% | 26.7% | 4 | 0 | 11 | 15 ||
653653
| go | 100.0% | 69.2% | 9 | 0 | 4 | 13 | 13/14 |
654654
| groovy | 100.0% | 7.7% | 1 | 0 | 12 | 13 ||
655-
| haskell | 0.0% | 0.0% | 0 | 0 | 12 | 12 ||
655+
| haskell | 100.0% | 33.3% | 4 | 0 | 8 | 12 ||
656656
| hcl | 0.0% | 0.0% | 0 | 0 | 2 | 2 ||
657657
| java | 100.0% | 52.9% | 9 | 0 | 8 | 17 ||
658658
| julia | 0.0% | 0.0% | 0 | 0 | 15 | 15 ||
@@ -676,10 +676,10 @@ Metrics are normalized per file for cross-version comparability. Times above are
676676

677677
| Mode | Resolved | Expected | Recall |
678678
|------|--------:|---------:|-------:|
679-
| module-function | 13 | 106 | 12.3% |
679+
| module-function | 16 | 106 | 15.1% |
680680
| receiver-typed | 17 | 104 | 16.3% |
681681
| static | 66 | 93 | 71.0% |
682-
| same-file | 47 | 86 | 54.7% |
682+
| same-file | 48 | 86 | 55.8% |
683683
| interface-dispatched | 7 | 12 | 58.3% |
684684
| class-inheritance | 0 | 4 | 0.0% |
685685
| trait-dispatch | 0 | 2 | 0.0% |

0 commit comments

Comments
 (0)