Skip to content

refactor(bench): clean up BenchRunner API and add tracing instrumentation#3962

Merged
bug-ops merged 2 commits into
mainfrom
3952-bench-runner-cleanup
May 16, 2026
Merged

refactor(bench): clean up BenchRunner API and add tracing instrumentation#3962
bug-ops merged 2 commits into
mainfrom
3952-bench-runner-cleanup

Conversation

@bug-ops
Copy link
Copy Markdown
Owner

@bug-ops bug-ops commented May 16, 2026

Summary

Test plan

  • cargo +nightly fmt --check — clean
  • cargo clippy --workspace -- -D warnings — clean
  • cargo nextest run --workspace --lib --bins — 9426 passed
  • RUSTFLAGS="-D warnings" cargo check --workspace --all-targets --features desktop,ide,server,chat,pdf,scheduler --locked — clean

@bug-ops bug-ops enabled auto-merge (squash) May 16, 2026 14:53
@github-actions github-actions Bot added documentation Improvements or additions to documentation rust Rust code changes refactor Code refactoring without functional changes size/M Medium PR (51-200 lines) labels May 16, 2026
@bug-ops bug-ops force-pushed the 3952-bench-runner-cleanup branch from 2f49bca to ea8c6c4 Compare May 16, 2026 15:00
bug-ops added 2 commits May 16, 2026 17:05
…tion

- Remove dead `_no_deterministic: bool` parameter from `BenchRunner::new`;
  callers already apply deterministic overrides to the provider before construction
  via `apply_deterministic_overrides` (closes #3952)
- Extract shared `filter_scenarios` helper to eliminate duplicated scenario-filter
  validation and skip logic in `run_dataset` and `run_dataset_with_env_factory`
  (closes #3953)
- Add `tracing::info_span!` to `run_dataset`, `run_dataset_with_env_factory`,
  and `run_one_with_executor` so bench runs are visible in Perfetto/Jaeger traces
  (closes #3948)
@bug-ops bug-ops force-pushed the 3952-bench-runner-cleanup branch from ea8c6c4 to 52de174 Compare May 16, 2026 15:05
@bug-ops bug-ops merged commit 7cc1179 into main May 16, 2026
36 checks passed
@bug-ops bug-ops deleted the 3952-bench-runner-cleanup branch May 16, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation refactor Code refactoring without functional changes rust Rust code changes size/M Medium PR (51-200 lines)

Projects

None yet

1 participant