Skip to content

vey-bench: wrap the bench run loop into a reusable BenchRunner - #156

Open
zh-jq wants to merge 1 commit into
mainfrom
bench
Open

zh-jq wants to merge 1 commit into
mainfrom
bench

Conversation

@zh-jq

@zh-jq zh-jq commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Move the run logic into BenchRunner so the same target can be run multiple times. Per-run global state is now reset on each run, and the time limit uses a per-run flag with a cancellable timer instead of the sticky force quit flag. Ctrl-C still stops all following runs.

Also fix the overflow when the request or log error counter reaches 0.

Move the run logic into BenchRunner so the same target can be run
multiple times. Per-run global state is now reset on each run, and the
time limit uses a per-run flag with a cancellable timer instead of the
sticky force quit flag. Ctrl-C still stops all following runs.

Also fix the overflow when the request or log error counter reaches 0.

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.51316% with 41 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
vey-bench/src/target/runner.rs 86.45% 39 Missing ⚠️
vey-bench/src/target/stats.rs 83.33% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

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