Skip to content

Commit 5932afb

Browse files
docs: update incremental benchmarks (2.5.1) (#203)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 5a8a968 commit 5932afb

1 file changed

Lines changed: 68 additions & 0 deletions

File tree

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Codegraph Incremental Build Benchmarks
2+
3+
Self-measured on every release by running codegraph on its own codebase.
4+
Build tiers: full (cold), no-op (nothing changed), 1-file (single file modified).
5+
Import resolution: native batch vs JS fallback throughput.
6+
7+
| Version | Engine | Files | Full Build | No-op | 1-File | Resolve (native) | Resolve (JS) |
8+
|---------|--------|------:|-----------:|------:|-------:|------------------:|-------------:|
9+
| 2.5.1 | native | 132 | 238ms | 4ms | 111ms | 1ms | 1ms |
10+
| 2.5.1 | wasm | 132 | 806ms | 4ms | 328ms | 1ms | 1ms |
11+
12+
### Latest results
13+
14+
**Version:** 2.5.1 | **Files:** 132 | **Date:** 2026-03-02
15+
16+
#### Native (Rust)
17+
18+
| Metric | Value |
19+
|--------|------:|
20+
| Full build | 238ms |
21+
| No-op rebuild | 4ms |
22+
| 1-file rebuild | 111ms |
23+
24+
#### WASM
25+
26+
| Metric | Value |
27+
|--------|------:|
28+
| Full build | 806ms |
29+
| No-op rebuild | 4ms |
30+
| 1-file rebuild | 328ms |
31+
32+
#### Import Resolution
33+
34+
| Metric | Value |
35+
|--------|------:|
36+
| Import pairs | 139 |
37+
| Native batch | 1ms |
38+
| JS fallback | 1ms |
39+
| Per-import (native) | 0ms |
40+
| Per-import (JS) | 0ms |
41+
| Speedup ratio | 1.1x |
42+
43+
<!-- INCREMENTAL_BENCHMARK_DATA
44+
[
45+
{
46+
"version": "2.5.1",
47+
"date": "2026-03-02",
48+
"files": 132,
49+
"wasm": {
50+
"fullBuildMs": 806,
51+
"noopRebuildMs": 4,
52+
"oneFileRebuildMs": 328
53+
},
54+
"native": {
55+
"fullBuildMs": 238,
56+
"noopRebuildMs": 4,
57+
"oneFileRebuildMs": 111
58+
},
59+
"resolve": {
60+
"imports": 139,
61+
"nativeBatchMs": 1.2,
62+
"jsFallbackMs": 1.3,
63+
"perImportNativeMs": 0,
64+
"perImportJsMs": 0
65+
}
66+
}
67+
]
68+
-->

0 commit comments

Comments
 (0)