fuzz: Avoid timeout in blockfilter fuzz target #22755

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2108-fuzzBlockfilter changing 1 files +3 −2
  1. MarcoFalke commented at 1:48 PM on August 20, 2021: member

    Previously it would take 10 seconds to run this input, now it takes 10ms: clusterfuzz-testcase-blockfilter-5022838196142080.log

    The fix is moving the MatchAny out of the hot loop.

    Also, to avoid unlimited runtime, cap the hot loop at 30k iterations.

  2. fuzz: Avoid timeout in blockfilter fuzz target fa2547fc52
  3. fanquake added the label Tests on Aug 20, 2021
  4. MarcoFalke commented at 1:49 PM on August 20, 2021: member

    cc @practicalswift :cat2:

  5. GeneFerneau commented at 9:12 PM on August 25, 2021: none

    Approach ACK fa2547f

    Awesome perf gains from a small change!

  6. MarcoFalke merged this on Aug 26, 2021
  7. MarcoFalke closed this on Aug 26, 2021

  8. MarcoFalke deleted the branch on Aug 26, 2021
  9. sidhujag referenced this in commit c15b12ed72 on Aug 28, 2021
  10. PastaPastaPasta referenced this in commit 2695583f70 on Jul 17, 2022
  11. DrahtBot locked this on Aug 26, 2022
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me