Skip to content

Feat/oxabl semantic phase8 bench#54

Merged
evanbrobertson merged 2 commits into
masterfrom
feat/oxabl-semantic-phase8-bench
May 1, 2026
Merged

Feat/oxabl semantic phase8 bench#54
evanbrobertson merged 2 commits into
masterfrom
feat/oxabl-semantic-phase8-bench

Conversation

@evanbrobertson
Copy link
Copy Markdown
Contributor

No description provided.

evanbrobertson and others added 2 commits April 17, 2026 23:58
…(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>
@evanbrobertson evanbrobertson merged commit 6e438d7 into master May 1, 2026
5 checks passed
@evanbrobertson evanbrobertson deleted the feat/oxabl-semantic-phase8-bench branch May 1, 2026 02:10
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