Skip to content

Commit bbb2de5

Browse files
docs: update incremental benchmarks (3.9.6) (#1032)
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 16dc216 commit bbb2de5

1 file changed

Lines changed: 76 additions & 8 deletions

File tree

generated/benchmarks/INCREMENTAL-BENCHMARKS.md

Lines changed: 76 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Import resolution: native batch vs JS fallback throughput.
66

77
| Version | Engine | Files | Full Build | No-op | 1-File | Resolve (native) | Resolve (JS) |
88
|---------|--------|------:|-----------:|------:|-------:|------------------:|-------------:|
9+
| 3.9.6 | native | 744 | 3.0s | 10ms | 54ms | 7ms ~ | 11ms ↑7% |
10+
| 3.9.6 | wasm | 744 | 14.0s | 131ms | 62ms | 7ms ~ | 11ms ↑7% |
911
| 3.9.4 | native | 668 | 2.1s ↓4% | 9ms ~ | 406ms ↑7% | 6ms ↑7% | 9ms ↓15% |
1012
| 3.9.4 | wasm | 668 | 7.6s ~ | 19ms ↑6% | 61ms ↓90% | 6ms ↑7% | 9ms ↓15% |
1113
| 3.9.3 | native | 667 | 2.2s ↓76% | 9ms ↑13% | 380ms ↓32% | 6ms ↓5% | 11ms ↑6% |
@@ -55,25 +57,91 @@ Import resolution: native batch vs JS fallback throughput.
5557

5658
### Latest results
5759

58-
**Version:** 3.9.5 | **Files:** 742 | **Date:** 2026-04-23
60+
**Version:** 3.9.6 | **Files:** 744 | **Date:** 2026-04-30
61+
62+
#### Native (Rust)
63+
64+
| Metric | Value |
65+
|--------|------:|
66+
| Full build | 3.0s |
67+
| No-op rebuild | 10ms |
68+
| 1-file rebuild | 54ms |
69+
70+
#### WASM
71+
72+
| Metric | Value |
73+
|--------|------:|
74+
| Full build | 14.0s |
75+
| No-op rebuild | 131ms |
76+
| 1-file rebuild | 62ms |
5977

6078
#### Import Resolution
6179

6280
| Metric | Value |
6381
|--------|------:|
64-
| Import pairs | 987 |
82+
| Import pairs | 986 |
6583
| Native batch | 7ms |
66-
| JS fallback | 10ms |
84+
| JS fallback | 11ms |
6785
| Per-import (native) | 0ms |
6886
| Per-import (JS) | 0ms |
69-
| Speedup ratio | 1.5x |
70-
71-
<!-- NOTES_START -->
72-
**Note (3.9.5):** No build/rebuild metrics for this release (both engines null) — only import resolution data was collected. Both the WASM and native workers reached the 1-file rebuild phase and then hung past the benchmark's 10-minute per-engine timeout (see `scripts/lib/fork-engine.ts`), so each was killed (`SIGKILL`) before returning results. Import resolution is unaffected because it runs in the parent process and doesn't depend on the full build. 3.9.5 is consequently absent from the top-level version-history comparison table since there are no build-time figures to compare against prior releases. The workflow run is [here](https://github.com/optave/ops-codegraph-tool/actions/runs/24863501577); the root cause will be investigated and the numbers backfilled in a follow-up if possible.
73-
<!-- NOTES_END -->
87+
| Speedup ratio | 1.6x |
7488

7589
<!-- INCREMENTAL_BENCHMARK_DATA
7690
[
91+
{
92+
"version": "3.9.6",
93+
"date": "2026-04-30",
94+
"files": 744,
95+
"wasm": {
96+
"fullBuildMs": 14036,
97+
"noopRebuildMs": 131,
98+
"oneFileRebuildMs": 62,
99+
"oneFilePhases": {
100+
"setupMs": 5.1,
101+
"collectMs": 6.6,
102+
"detectMs": 10,
103+
"parseMs": 4.3,
104+
"insertMs": 0.4,
105+
"resolveMs": 0.5,
106+
"edgesMs": 1.7,
107+
"structureMs": 3.1,
108+
"rolesMs": 25.4,
109+
"astMs": 0.6,
110+
"complexityMs": 0.6,
111+
"cfgMs": 0.4,
112+
"dataflowMs": 0.4,
113+
"finalizeMs": 0.4
114+
}
115+
},
116+
"native": {
117+
"fullBuildMs": 2986,
118+
"noopRebuildMs": 10,
119+
"oneFileRebuildMs": 54,
120+
"oneFilePhases": {
121+
"setupMs": 2.9,
122+
"collectMs": 4.6,
123+
"detectMs": 3,
124+
"parseMs": 0.3,
125+
"insertMs": 0.3,
126+
"resolveMs": 0.4,
127+
"edgesMs": 5.2,
128+
"structureMs": 4.6,
129+
"rolesMs": 24.9,
130+
"astMs": 0.2,
131+
"complexityMs": 0,
132+
"cfgMs": 0,
133+
"dataflowMs": 0,
134+
"finalizeMs": 0.5
135+
}
136+
},
137+
"resolve": {
138+
"imports": 986,
139+
"nativeBatchMs": 6.5,
140+
"jsFallbackMs": 10.5,
141+
"perImportNativeMs": 0,
142+
"perImportJsMs": 0
143+
}
144+
},
77145
{
78146
"version": "3.9.5",
79147
"date": "2026-04-23",

0 commit comments

Comments
 (0)