-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bencher succeed without running any benchmarks with rust_criterion
adapter on Windows.
#516
Comments
@TheVeryDarkness thank you for using Bencher, and I'm sorry you're running into trouble. I do have a CI job that runs the example Criterion benchmarks on Windows. Taking a look at your workflow file: https://github.com/TheVeryDarkness/iof/blob/main/.github%2Fworkflows%2Fbenchmark.yml#L32 bencher/tasks/test_api/src/task/test/examples.rs Lines 156 to 158 in 8a1cc54
|
Adding quotes there doesn't seem to be working :( Workflow run: https://github.com/TheVeryDarkness/iof/actions/runs/11320056080 There was an error when running on linux-latest because I had some bugs in my benchmarks. I suspect it has something to do with the spaces in my benchmark names. |
Well, it seems it's not caused by the spaces. Workflow run: https://github.com/TheVeryDarkness/iof/actions/runs/11323643624/job/31486739251 |
And Workflow run: https://github.com/TheVeryDarkness/iof/actions/runs/11323828042/job/31487307640. |
@TheVeryDarkness thank you for trying out using quotes. I'm not very knowledgeable on Windows development, so I figured it was worth a shot. If you run your benchmarks on a Windows box without Bencher, what does the output look like? |
@TheVeryDarkness any update on this issue? |
@epompeii Thanks for reminding me! Here is a run on Windows: https://github.com/TheVeryDarkness/iof/actions/runs/12478423660/job/34825991109. The benchmark itself runs well on windows, but bencher still does not run benchmarks. By the way, CI seems to be failing on Linux and MacOS though I think I didn't change too many codes. |
Here is the latest run on Windows: https://github.com/TheVeryDarkness/iof/actions/runs/12478628302/job/34826478391#step:7:1 |
@TheVeryDarkness thank you for the recent runs. I checked the logs for both runs, and I only see two This makes me think the the Windows CLI is not even sending over the I currently can't get access to a Windows VM to debug this:
https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/ Hopefully that changes soon. |
@TheVeryDarkness if you put the Threshold boundary ( https://github.com/TheVeryDarkness/iof/blob/main/.github%2Fworkflows%2Fbenchmark.yml#L39
|
@epompeii it seems not. The latest run: https://github.com/TheVeryDarkness/iof/actions/runs/12487806742/job/34849436729#step:8:1 |
Hello! I'm using bencher in Github Actions for one of my repos in Rust, and I'm using adapter
rust_criterion
, but I found bencher works well on macos-latest and linux-latest, but succeed without running any benchmarks on Windows.You can find results from a workflow run in https://github.com/TheVeryDarkness/iof/actions/runs/11302133786.
The text was updated successfully, but these errors were encountered: