Skip to content

Commit 15e893c

Browse files
docs: update build performance benchmarks (#125)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 53fc34f commit 15e893c

2 files changed

Lines changed: 29 additions & 29 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,10 +403,10 @@ Self-measured on every release via CI ([build benchmarks](generated/BUILD-BENCHM
403403

404404
| Metric | Latest |
405405
|---|---|
406-
| Build speed (native) | **2.2 ms/file** |
406+
| Build speed (native) | **2.1 ms/file** |
407407
| Build speed (WASM) | **6.4 ms/file** |
408408
| Query time | **2ms** |
409-
| ~50,000 files (est.) | **~110.0s build** |
409+
| ~50,000 files (est.) | **~105.0s build** |
410410

411411
Metrics are normalized per file for cross-version comparability. Times above are for a full initial build — incremental rebuilds only re-parse changed files.
412412

generated/BUILD-BENCHMARKS.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Metrics are normalized per file for cross-version comparability.
55

66
| Version | Engine | Date | Files | Build (ms/file) | Query (ms) | Nodes/file | Edges/file | DB (bytes/file) |
77
|---------|--------|------|------:|----------------:|-----------:|-----------:|-----------:|----------------:|
8-
| 2.4.0 | native | 2026-02-26 | 109 | 2.2 ↑16% | 1.6 ↑7% | 5.9 ~ | 9.6 ↑5% | 4397 ↑14% |
9-
| 2.4.0 | wasm | 2026-02-26 | 109 | 6.4 ↓3% | 2.1 ~ | 5.9 ~ | 9.6 ↑5% | 4397 ↑14% |
8+
| 2.4.0 | native | 2026-02-26 | 109 | 2.1 ↑11% | 1.8 ↑20% | 5.9 ~ | 9.7 ↑7% | 4434 ↑15% |
9+
| 2.4.0 | wasm | 2026-02-26 | 109 | 6.4 ↓3% | 2.1 ~ | 5.9 ~ | 9.7 ↑7% | 4434 ↑15% |
1010
| 2.3.0 | native | 2026-02-24 | 99 | 1.9 ~ | 1.5 ↑7% | 5.8 ↑7% | 9.1 ~ | 3848 ~ |
1111
| 2.3.0 | wasm | 2026-02-24 | 99 | 6.6 ~ | 2.1 ↑11% | 5.8 ~ | 9.1 ↑3% | 3848 ~ |
1212
| 2.1.0 | native | 2026-02-23 | 92 | 1.9 ↓24% | 1.4 ↑17% | 5.4 ↑6% | 9.1 ↓47% | 3829 ↓14% |
@@ -20,22 +20,22 @@ Metrics are normalized per file for cross-version comparability.
2020

2121
| Metric | Value |
2222
|--------|-------|
23-
| Build time | 235ms |
23+
| Build time | 225ms |
2424
| Query time | 2ms |
25-
| Nodes | 640 |
26-
| Edges | 1,049 |
27-
| DB size | 468 KB |
25+
| Nodes | 644 |
26+
| Edges | 1,062 |
27+
| DB size | 472 KB |
2828
| Files | 109 |
2929

3030
#### WASM
3131

3232
| Metric | Value |
3333
|--------|-------|
34-
| Build time | 700ms |
34+
| Build time | 702ms |
3535
| Query time | 2ms |
36-
| Nodes | 640 |
37-
| Edges | 1,049 |
38-
| DB size | 468 KB |
36+
| Nodes | 644 |
37+
| Edges | 1,062 |
38+
| DB size | 472 KB |
3939
| Files | 109 |
4040

4141
### Estimated performance at 50,000 files
@@ -44,10 +44,10 @@ Extrapolated linearly from per-file metrics above.
4444

4545
| Metric | Native (Rust) | WASM |
4646
|--------|---:|---:|
47-
| Build time | 110.0s | 320.0s |
48-
| DB size | 209.7 MB | 209.7 MB |
47+
| Build time | 105.0s | 320.0s |
48+
| DB size | 211.4 MB | 211.4 MB |
4949
| Nodes | 295,000 | 295,000 |
50-
| Edges | 480,000 | 480,000 |
50+
| Edges | 485,000 | 485,000 |
5151

5252
<!-- BENCHMARK_DATA
5353
[
@@ -56,29 +56,29 @@ Extrapolated linearly from per-file metrics above.
5656
"date": "2026-02-26",
5757
"files": 109,
5858
"wasm": {
59-
"buildTimeMs": 700,
59+
"buildTimeMs": 702,
6060
"queryTimeMs": 2.1,
61-
"nodes": 640,
62-
"edges": 1049,
63-
"dbSizeBytes": 479232,
61+
"nodes": 644,
62+
"edges": 1062,
63+
"dbSizeBytes": 483328,
6464
"perFile": {
6565
"buildTimeMs": 6.4,
6666
"nodes": 5.9,
67-
"edges": 9.6,
68-
"dbSizeBytes": 4397
67+
"edges": 9.7,
68+
"dbSizeBytes": 4434
6969
}
7070
},
7171
"native": {
72-
"buildTimeMs": 235,
73-
"queryTimeMs": 1.6,
74-
"nodes": 640,
75-
"edges": 1049,
76-
"dbSizeBytes": 479232,
72+
"buildTimeMs": 225,
73+
"queryTimeMs": 1.8,
74+
"nodes": 644,
75+
"edges": 1062,
76+
"dbSizeBytes": 483328,
7777
"perFile": {
78-
"buildTimeMs": 2.2,
78+
"buildTimeMs": 2.1,
7979
"nodes": 5.9,
80-
"edges": 9.6,
81-
"dbSizeBytes": 4397
80+
"edges": 9.7,
81+
"dbSizeBytes": 4434
8282
}
8383
}
8484
},

0 commit comments

Comments
 (0)