feat(fuzz): prioritize favored corpus entries#15818
Open
decofe wants to merge 3 commits into
Open
Conversation
decofe
requested review from
0xrusowsky,
DaniPopes,
figtracer,
grandizzy,
mablr,
mattsse and
stevencartavia
as code owners
July 18, 2026 13:57
…ur/favored-power-schedule-1784381979
mablr
reviewed
Jul 22, 2026
mablr
left a comment
Member
There was a problem hiding this comment.
We should probably build the mutation schedule once per new_inputs call and reuse it for both donor picks, rather than rebuilding edge frequencies and weights twice.
The edge-frequency map also uses trusted integer keys, so switching it to FxHashMap (or avoiding hashing entirely) appears worthwhile.
In the same fixed-seed Nerite local run, snapshot reuse improved throughput from 604 to 988 tx/s, and snapshot reuse plus FxHashMap reached 2,867 tx/s.
Member
|
derek bench fuzz compare-ref=master timeout=600 |
Contributor
|
cc @mablr bench (fuzz) event published. Results will be reported separately. View publisher run Config: subcommand: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #15817.
Makes the coverage minset affect donor selection, not just eviction. The scheduler gives energy to favored entries, rare edges, and recent coverage yield, while retaining bounded uniform and disk exploration.
Adds a focused scheduling regression test.
Prompted by: @0xalpharush