-
Notifications
You must be signed in to change notification settings - Fork 3
perf: investigate 1-file incremental rebuild regression in 3.4.0 #635
Copy link
Copy link
Closed
Labels
follow-upDeferred work from PR reviews that needs trackingDeferred work from PR reviews that needs tracking
Description
Context
Benchmark PR #627 recorded a disproportionate regression in 1-file incremental rebuild times in v3.4.0:
- Native: 346ms → 448ms (+29%)
- WASM: 508ms → 617ms (+21%)
The file count only grew ~7% (442 → 473 files), so the regression is disproportionate to codebase growth. For a single-file incremental rebuild, total file count should have minimal impact on latency.
Additionally, the WASM full build regressed +15% (4.4s → 5.0s), widening the native/WASM gap from ~1.85x to ~2.21x.
Investigation areas
- Incremental rebuild path in
domain/graph/builder.ts - Hash comparison and file-skip logic
- Any new per-file overhead introduced in 3.4.0
References
- Benchmark data: docs: update incremental benchmarks (3.4.0) #627
- Greptile review comment flagging the regression
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
follow-upDeferred work from PR reviews that needs trackingDeferred work from PR reviews that needs tracking