Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions generated/benchmarks/QUERY-BENCHMARKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ Latencies are median over 5 runs. Hub target = most-connected node.
| diffImpact affected functions | 0 |
| diffImpact affected files | 0 |

<!-- NOTES_START -->
**Note (3.3.1):** The ↑157-192% fnDeps/fnImpact deltas for 3.3.1 vs 3.3.0 are not comparable. PR #528 changed the hub target from auto-selected `src/types.ts` (shallow type-barrel) to pinned `buildGraph` (deep orchestration function with 2-3x more edges). There is no engine regression — `diffImpact` improved 20-44% in the same release. Future version comparisons (3.3.1+) are stable and meaningful.
<!-- NOTES_END -->

<!-- QUERY_BENCHMARK_DATA
[
{
Expand Down
13 changes: 13 additions & 0 deletions scripts/update-query-report.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,19 @@ for (const engineKey of ['native', 'wasm']) {
md += `| diffImpact affected files | ${e.diffImpact.affectedFiles} |\n\n`;
}

// ── Preserve hand-written notes from existing file ────────────────────
let notes = '';
if (fs.existsSync(reportPath)) {
const existing = fs.readFileSync(reportPath, 'utf8');
const notesMatch = existing.match(/<!-- NOTES_START -->\n([\s\S]*?)<!-- NOTES_END -->/);
if (notesMatch) {
notes = notesMatch[1];
}
}
if (notes) {
md += `<!-- NOTES_START -->\n${notes}<!-- NOTES_END -->\n\n`;
}

md += `<!-- QUERY_BENCHMARK_DATA\n${JSON.stringify(history, null, 2)}\n-->\n`;

fs.mkdirSync(path.dirname(reportPath), { recursive: true });
Expand Down
Loading