Skip to content

perf(tools): time the #3073 candidate finder against the gate it replaces (Part of #3073) - #6125

Merged
squid-protocol merged 1 commit into
mainfrom
churn/3073-20261023T0154Z
Oct 23, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/3073-20261023T0154Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Measurement only: no engine change, #3073 stays deferred.

Adds --time to tests/tools/combined_alternation_parity.py (stage timings: per-rule gate, combined finder, real finditer sweeps, top-5 vs residual) plus a test, and records the result in docs/perf_speed_testing.md.

Result over language-crucible code streams (55 languages): gate 1.12s, combined finder 9.03s, sweeps 36.94s (residual outside top-5 per language 17.17s). The finder is ~8x slower than the gate it would replace, and the residual sweeps are real matches a finder cannot remove. Verdict: stays deferred.

Cross-repo: none.

Class table: the question "does a combined first-pass finder pay?" Answered no for the gate stage (measured); the sweep stage is per-rule work (#3072/#3182).

Checks: audit_check.py clear, ruff format clean, 6 tests pass. No parsing change, so no golden bless.

🤖 Generated with Claude Code

…d replace (Part of #3073)

Measurement only; the engine is unchanged and #3073 stays deferred.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 02:01
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 02:11
@squid-protocol
squid-protocol merged commit 1c10690 into main Oct 23, 2026
45 checks passed
@squid-protocol
squid-protocol deleted the churn/3073-20261023T0154Z branch October 23, 2026 02:47
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant