-
Notifications
You must be signed in to change notification settings - Fork 23
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
Benchmarking on remote maschine / Report generation off-line #30
Comments
Hi @ialokim I'm also trying to compile benchmarks on one machine and run them on another. |
You can definitely run the benchmark binary directly on your target machine. You can find it under This approach does not use |
Awesome, thanks for the help @ialokim! |
Hello! Thanks for the suggestion. This is an interesting idea. It probably won't be a priority for me to implement, but I'll leave this open as a note for future development. |
Thanks a lot for your great benchmarking library!
Now that analyzing and plotting of results has been moved to
cargo-criterion
, I wonder if there is already some easy way to do benchmarks on a remote machine. Currently, I'm cross-compiling my criterion benchmarks for a Raspberry Pi Zero viacargo bench --target arm-unknown-linux-gnueabihf
which successfully generates binaries that I can run on the Pi with--bench
. Due to the very limited resources of this device I don't want to installrust
andcargo
on the Pi itself and thus cannot usecargo-criterion
directly. Also report generation (especially plotting) is very slow on the Pi, so I would like to shift that part of the task to my work machine.I already know that I can disable plot generation via
--noplot
. Is there some way to generate the reports afterwards on another computer using the raw data from the Pi? Or even better, doescargo-criterion
support benchmarking on a remote machine?The text was updated successfully, but these errors were encountered: