Skip to content

Commit 0cc0ec0

Browse files
docs: update incremental benchmarks (3.9.0) (#854)
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 729789f commit 0cc0ec0

File tree

1 file changed

+61
-11
lines changed

1 file changed

+61
-11
lines changed

generated/benchmarks/INCREMENTAL-BENCHMARKS.md

Lines changed: 61 additions & 11 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.0 | native | 567 | 6.5s ~ | 6ms ↓25% | 527ms ↑1185% | 5ms ↓18% | 11ms ~ |
10+
| 3.9.0 | wasm | 567 | 6.8s ↓3% | 12ms ↓20% | 541ms ↓10% | 5ms ↓18% | 11ms ~ |
911
| 3.8.1 | native | 565 | 6.6s ↑468% | 8ms ↑14% | 41ms ↑24% | 6ms ↑51% | 11ms ↓14% |
1012
| 3.8.1 | wasm | 565 | 7.0s ↑493% | 15ms ↑88% | 603ms ↑1727% | 6ms ↑51% | 11ms ↓14% |
1113
| 3.8.0 | native | 564 | 1.2s | 7ms | 33ms | 4ms ↑2% | 12ms ↓19% |
@@ -45,39 +47,87 @@ Import resolution: native batch vs JS fallback throughput.
4547

4648
### Latest results
4749

48-
**Version:** 3.8.1 | **Files:** 565 | **Date:** 2026-04-03
50+
**Version:** 3.9.0 | **Files:** 567 | **Date:** 2026-04-04
4951

5052
#### Native (Rust)
5153

5254
| Metric | Value |
5355
|--------|------:|
54-
| Full build | 6.6s |
55-
| No-op rebuild | 8ms |
56-
| 1-file rebuild | 41ms |
56+
| Full build | 6.5s |
57+
| No-op rebuild | 6ms |
58+
| 1-file rebuild | 527ms |
5759

5860
#### WASM
5961

6062
| Metric | Value |
6163
|--------|------:|
62-
| Full build | 7.0s |
63-
| No-op rebuild | 15ms |
64-
| 1-file rebuild | 603ms |
65-
66-
> **Note:** 3.8.0 showed anomalously fast WASM timings (1-file rebuild 33ms, phase times near-zero) because the native Rust build orchestration pipeline handled parsing/AST/complexity internally. In 3.8.1, the WASM path no longer delegates these phases to the native engine, reverting toward pre-3.8.0 baselines (`parseMs` 0.3ms → 272.3ms). The native engine's incremental path remains fast (1-file 41ms, `parseMs` 0.3ms). The full-build regression (~5.5-5.9x vs 3.8.0) affects both engines and is tracked separately.
64+
| Full build | 6.8s |
65+
| No-op rebuild | 12ms |
66+
| 1-file rebuild | 541ms |
6767

6868
#### Import Resolution
6969

7070
| Metric | Value |
7171
|--------|------:|
7272
| Import pairs | 951 |
73-
| Native batch | 6ms |
73+
| Native batch | 5ms |
7474
| JS fallback | 11ms |
7575
| Per-import (native) | 0ms |
7676
| Per-import (JS) | 0ms |
77-
| Speedup ratio | 1.7x |
77+
| Speedup ratio | 2.1x |
7878

7979
<!-- INCREMENTAL_BENCHMARK_DATA
8080
[
81+
{
82+
"version": "3.9.0",
83+
"date": "2026-04-04",
84+
"files": 567,
85+
"wasm": {
86+
"fullBuildMs": 6793,
87+
"noopRebuildMs": 12,
88+
"oneFileRebuildMs": 541,
89+
"oneFilePhases": {
90+
"setupMs": 1.6,
91+
"parseMs": 264.6,
92+
"insertMs": 16.2,
93+
"resolveMs": 2,
94+
"edgesMs": 20.7,
95+
"structureMs": 25.7,
96+
"rolesMs": 46.6,
97+
"astMs": 0.4,
98+
"complexityMs": 0.4,
99+
"cfgMs": 0.2,
100+
"dataflowMs": 0.3,
101+
"finalizeMs": 6.2
102+
}
103+
},
104+
"native": {
105+
"fullBuildMs": 6520,
106+
"noopRebuildMs": 6,
107+
"oneFileRebuildMs": 527,
108+
"oneFilePhases": {
109+
"setupMs": 31.1,
110+
"parseMs": 54,
111+
"insertMs": 21.1,
112+
"resolveMs": 0.8,
113+
"edgesMs": 25.1,
114+
"structureMs": 140.6,
115+
"rolesMs": 59.3,
116+
"astMs": 14.4,
117+
"complexityMs": 4.2,
118+
"cfgMs": 25.6,
119+
"dataflowMs": 11.7,
120+
"finalizeMs": 0.4
121+
}
122+
},
123+
"resolve": {
124+
"imports": 951,
125+
"nativeBatchMs": 5.1,
126+
"jsFallbackMs": 10.8,
127+
"perImportNativeMs": 0,
128+
"perImportJsMs": 0
129+
}
130+
},
81131
{
82132
"version": "3.8.1",
83133
"date": "2026-04-03",

0 commit comments

Comments
 (0)