-
Notifications
You must be signed in to change notification settings - Fork 319
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
I[Idea/Question] Cross-compile a bench test to run on a remote target? #736
Comments
Hey!
cross bench --target aarch64-unknown-linux-gnu
/target/aarch64-unknown-linux-gnu/release/deps/my_bench-7dfs8993ds789 --bench
scp /target/aarch64-unknown-linux-gnu/release/deps/my_bench-7dfs8993ds789 pi@<ip_address>:/home/pi/my_bench
(You could also specify the target CPU to eventually speed things up, just put before cross bench ...: |
@stexa thks! Will try this on my runners, |
Thanks @steckes, which now allow us to:
New benchmarking whole process reduces from 25 min to just 7 minutes. |
@bheisler I think we can close this issue, & maybe can we document it somewhere? |
I'm using criterion to run bench on a raspberry pi4 target, but compile it from zero there takes 21 minutes.
Someone already tryed to cross compile the required stuff and then execute from the target?
The text was updated successfully, but these errors were encountered: