Skip to content

perf(bench): stream the template fan-out coverage pass per batch #1373 - #2195

Merged
nc9 merged 1 commit into
mainfrom
lane-1373
Nov 21, 2026
Merged

nc9 merged 1 commit into
mainfrom
lane-1373

Conversation

@nc9

@nc9 nc9 commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

The --coverage pass in template-fanout-bench.ts loaded every page's HTML into one array before measuring (about 14 GB on a large crawl). It now keys each page as its batch is read and drops the HTML. Adds createCoverageAccumulator to audit-engine; measureSignatureCoverage is now a loop over it, so output is identical.

Refs #1373 (AC1 tooling).

Tests: template-signature-coverage-1373.test.ts 8 pass (streamed in batches equals all-at-once, for current and derived). Gates: apps/cli typecheck, lint, format:check pass; audit-engine typecheck pass; full audit-engine CI step (test-suites.ts --run audit-engine): 2379 pass, 3 skip, 0 fail. Agent skill: no change.

@nc9
nc9 marked this pull request as ready for review November 21, 2026 01:21
@nc9
nc9 merged commit 525e614 into main Nov 21, 2026
8 of 15 checks passed
@nc9
nc9 deleted the lane-1373 branch November 21, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant