Repository navigation
perf(tools): time the #3073 candidate finder against the gate it replaces (Part of #3073) - #6125
Merged
Merged
Conversation
…d replace (Part of #3073) Measurement only; the engine is unchanged and #3073 stays deferred. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 23, 2026 02:01
squid-protocol
enabled auto-merge (squash)
October 23, 2026 02:11
Owner
Author
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Measurement only: no engine change, #3073 stays deferred.
Adds
--timetotests/tools/combined_alternation_parity.py(stage timings: per-rule gate, combined finder, realfinditersweeps, top-5 vs residual) plus a test, and records the result indocs/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.pyclear, ruff format clean, 6 tests pass. No parsing change, so no golden bless.🤖 Generated with Claude Code