-
Notifications
You must be signed in to change notification settings - Fork 207
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
Create PGO optimized binaries #1469
Comments
@YamatoSecurity But I could not see any speed improvement when I performed the above steps🤔 |
I don't think it is possible to combine |
@YamatoSecurity |
Humm.. on Windows, it does not create any profiles.. I tried to use the profiles I created on my mac but I get a I did find out that you can stop the clearing of PGO profiles with the Reference: https://kobzol.github.io/rust/cargo/2023/07/28/rust-cargo-pgo.html Other references: https://doc.rust-lang.org/rustc/profile-guided-optimization.html |
I updated the commands to run at the top of the issue. With the same commands it creates the PGO profiles on linux but not on Windows... I can't find information googling it and all the examples seem to be for *nix systems so maybe it is not working now on Windows. |
I was able to use PGO optimization on Windows by specifying the |
When testing really big data (130GB) I only got a 3% speed up on Windows. 5 hours 31 minutes to 5 hours 20 minutes but still an improvement. 😄 |
I was able to get a 11.5% speed increase with PGO optimization. (Memory usage did not change)
Notes
target/x86_64-apple-darwin/release/
, etc... directories instead of./target/release
hayabusa-sample-evtx
files as well as theevtx-baseline
filesInfo:
@fukusuket Whenever you have time, could you test to see if you get faster benchmarks as well? If so, I'd like to add to clone the release binary automation action and add PGO optimizations to it.
The text was updated successfully, but these errors were encountered: