Feat/oxabl semantic phase8 bench#54
Merged
Merged
Conversation
…(Phase 8)
Per-pass granularity so regressions in a single pass can't be masked by
aggregate numbers (plan §"Bench granularity").
New `crates/oxabl_semantic/benches/semantic_bench.rs` with four benches
each on `tiny` and `medium` inline fixtures:
- `semantic/{tiny,medium}/declare` — declare pass in isolation
- `semantic/{tiny,medium}/resolve` — resolve via iter_batched, declare
runs in the setup phase so it isn't timed
- `semantic/{tiny,medium}/check` — same pattern for check
- `semantic/{tiny,medium}/analyze_file` — end-to-end user entry
Uses `codspeed-criterion-compat` to match the existing lexer/parser/
schema benches; CodSpeed CI auto-discovers the `[[bench]] name =
"semantic_bench"` target from Cargo metadata — no workflow change.
Release Please: added `oxabl_preprocessor` (omission), `oxabl_schema`,
`oxabl_semantic`, `oxabl_lint`, `oxabl_analyze` to both
`release-please-config.json` and `.release-please-manifest.json` at
`0.1.0`. Pre-1.0, `feat:` bumps minor.
CLAUDE.md `Current Status` updated with the new crates + test counts.
Deferred: per-rule lint benches (small follow-up; rule functions are
stable enough to bench today but waits on the corpus harness).
Workspace: 953 tests passing, `cargo clippy --workspace --tests
-- -D warnings` clean, `cargo fmt --check` clean.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
No description provided.