Uh oh!
There was an error while loading. Please reload this page.
Make fuzz runtime seconds not iterations - #4179
Conversation
I've assigned @wpaulino as a reviewer! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## main #4179 +/- ##
=======================================
Coverage 89.33% 89.33% =======================================
Files 180 180 Lines 138055 138055 Branches 138055 138055 =======================================
+ Hits 123326 123335 +9 + Misses 12122 12121 -1 + Partials 2607 2599 -8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
cbb53b6 to
3a4387dCompare8bfffb2 to
1ba5defCompare| # Because we're fuzzing relatively few iterations, the maximum possible | ||
| # compiler optimizations aren't necessary, so we turn off LTO | ||
| sed -i 's/lto = true//' Cargo.toml | ||
| sed -i 's/codegen-units = 1//' Cargo.toml |
There was a problem hiding this comment.
In #3916 we made some attempts of benchmarking before we removed this line. Do you have a vague number of how much the slowdown would be?
There was a problem hiding this comment.
I forgot about that, but its almost certainly a tiny difference in fuzzing performance, for a bit more parallelism while compiling some crates. 🤷♂️
1ba5def to
89671a5CompareTheBlueMatt
commented
Oct 28, 2025
Oh, weird, I guess bumping the debian version fixed the build even with 1.75, which I thought I tested....anyway, I dropped the MSRV bump for fuzzing cause it appears to be woring now. Now this just reduces the runtime to make it more consistent across jobs. |
tnull
commented
Oct 29, 2025
It's failing in CI with a linking error though? |
89671a5 to
fbdb5c5CompareTheBlueMatt
commented
Oct 29, 2025
Weird, it seems to be inconsistent, sometimes its fine, sometimes it fails. |
ldk-reviews-bot
commented
Oct 30, 2025
🔔 1st Reminder Hey @wpaulino! This PR has been waiting for your review. |
TheBlueMatt
commented
Oct 30, 2025
The |
ldk-reviews-bot
commented
Nov 1, 2025
🔔 2nd Reminder Hey @wpaulino! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Nov 3, 2025
🔔 3rd Reminder Hey @wpaulino! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Nov 5, 2025
🔔 4th Reminder Hey @wpaulino! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Nov 8, 2025
🔔 5th Reminder Hey @wpaulino! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Nov 10, 2025
🔔 6th Reminder Hey @wpaulino! This PR has been waiting for your review. |
We have some complexity in `ci-fuzz.sh` to limit each fuzzer to a rough runtime, but `honggfuzz` has a `--run-time` argument that we can simply use instead, which we do here.
535d546 to
8015c01CompareTheBlueMatt
commented
Nov 10, 2025
Hum, I guess the codegen-units = 1 is required to make the test pass, so I dropped that commit (though it shouldn't be required...). |
TheBlueMatt
commented
Nov 10, 2025
This is now only making the fuzz iterations consistent, which we should do, but is much less important. |
Uh oh!
There was an error while loading. Please reload this page.
No description provided.