diff --git a/generated/benchmarks/QUERY-BENCHMARKS.md b/generated/benchmarks/QUERY-BENCHMARKS.md index 2b828631..0fd8d251 100644 --- a/generated/benchmarks/QUERY-BENCHMARKS.md +++ b/generated/benchmarks/QUERY-BENCHMARKS.md @@ -5,6 +5,7 @@ Latencies are median over 5 runs. Hub target = most-connected node. | Version | Engine | fnDeps d1 | fnDeps d3 | fnDeps d5 | fnImpact d1 | fnImpact d3 | fnImpact d5 | diffImpact | |---------|--------|----------:|----------:|----------:|------------:|------------:|------------:|-----------:| +| 3.5.0 | wasm | 9.1 ~ | 9.1 ~ | 9 ~ | 3 ↓9% | 3.1 ↓3% | 3.1 ↓3% | 6.4ms ↓10% | | 3.4.1 | native | 8.9 ↑5% | 8.9 ↑5% | 8.8 ↑5% | 3.2 ~ | 3.1 ↓3% | 3.1 ↓3% | 8.1ms ↑45% | | 3.4.1 | wasm | 9.1 ↑7% | 9.2 ↑7% | 9.1 ↑7% | 3.3 ~ | 3.2 ↓3% | 3.2 ↓3% | 7.1ms ↑45% | | 3.4.0 | native | 8.5 ↑136% | 8.5 ↑136% | 8.4 ↑140% | 3.2 ↑28% | 3.2 ↑23% | 3.2 ↑28% | 5.6ms ↓20% | @@ -38,41 +39,27 @@ Latencies are median over 5 runs. Hub target = most-connected node. ### Latest results -**Version:** 3.4.1 | **Date:** 2026-03-27 - -#### Native (Rust) - -**Targets:** hub=`buildGraph`, mid=`noTests`, leaf=`docs` - -| Metric | Value | -|--------|------:| -| fnDeps depth 1 | 8.9ms | -| fnDeps depth 3 | 8.9ms | -| fnDeps depth 5 | 8.8ms | -| fnImpact depth 1 | 3.2ms | -| fnImpact depth 3 | 3.1ms | -| fnImpact depth 5 | 3.1ms | -| diffImpact latency | 8.1ms | -| diffImpact affected functions | 0 | -| diffImpact affected files | 0 | +**Version:** 3.5.0 | **Date:** 2026-03-30 #### WASM -**Targets:** hub=`buildGraph`, mid=`noTests`, leaf=`docs` +**Targets:** hub=`buildGraph`, mid=`db`, leaf=`docs` | Metric | Value | |--------|------:| | fnDeps depth 1 | 9.1ms | -| fnDeps depth 3 | 9.2ms | -| fnDeps depth 5 | 9.1ms | -| fnImpact depth 1 | 3.3ms | -| fnImpact depth 3 | 3.2ms | -| fnImpact depth 5 | 3.2ms | -| diffImpact latency | 7.1ms | +| fnDeps depth 3 | 9.1ms | +| fnDeps depth 5 | 9ms | +| fnImpact depth 1 | 3ms | +| fnImpact depth 3 | 3.1ms | +| fnImpact depth 5 | 3.1ms | +| diffImpact latency | 6.4ms | | diffImpact affected functions | 0 | | diffImpact affected files | 0 | +**Note (3.5.0):** This version has WASM-only data (`native: null`) because the native engine crashed during `insertNodes` in the graph build phase. The root cause is a napi-rs serialization bug: parameter and child nodes with undefined `visibility` fields marshal as `null` at the JS-Rust boundary, which fails conversion into the Rust `Option` type in `InsertNodesDefinition.visibility`. The mid-query target also changed from `noTests` to `db`, which may affect diffImpact scope. Query latencies for 3.5.0 are therefore not directly comparable to prior versions that include both engine rows. This will be fixed in the next release. + **Note (3.4.1):** The ↑45% diffImpact delta is inflated by 3.4.0 being an unusually low baseline (5.6ms/4.9ms). The new absolute values (8.1ms native, 7.1ms wasm) fall within the historical range (e.g. 3.1.3: 8.3ms, 3.3.0: 8.8ms). The mid-query target also changed from `rule` to `noTests`, which may affect diffImpact scope. No engine regression — fnDeps grew only 5-7% (consistent with codebase expansion) and fnImpact is flat-to-slightly-down. **Note (3.4.0):** The ↑136-143% fnDeps deltas for 3.4.0 vs 3.3.1 reflect codebase growth — `buildGraph` has significantly more edges in this release (new extractors, refactored domain/features layers). The mid-query target also changed from `db` to `rule`. There is no engine regression — native `diffImpact` improved 20% in the same release. @@ -82,6 +69,33 @@ Latencies are median over 5 runs. Hub target = most-connected node.