# Fuzzer Benchmark Report (from bug-count CSV)

- Time budget: **2.00h**

> **Warning — trial run.** This benchmark was executed with fewer than 10 instances per fuzzer and/or a time budget shorter than 24h. Results from trial runs are meant for debugging purposes and are not valid for extracting conclusions across different fuzzers.

## Executive summary
This report is derived solely from cumulative bugs-found over time across repeated runs per fuzzer. It emphasizes robust, distribution-based metrics (median/IQR, success rates, time-to-k) and shape-based behavior (plateau time, late discovery share) instead of single-run time-to-first-bug.

## Bugs found at fixed time budgets (median [IQR])
| Fuzzer | Runs | 1h |
|---|---|---|
| recon-fuzzer | 4 | 10 [9,10] |
| echidna | 4 | 6 [6,7] |
| medusa | 4 | 6 [6,7] |
| foundry | 4 | 5 [4,5] |

## Overall metrics
| Fuzzer | AUC (norm) | Plateau time | Late discovery share | Final median | Final IQR |
|---|---|---|---|---|---|
| recon-fuzzer | 0.868 | 1.20h | 0.050 | 10 | 0.50 |
| echidna | 0.622 | 1.60h | 0.188 | 8 | 1.00 |
| medusa | 0.577 | 1.90h | 0.071 | 7 | 2.50 |
| foundry | 0.395 | 0.80h | 0.000 | 5 | 0.25 |

## Milestones: time-to-k and success rates
| Fuzzer | time-to-1 (p50) | time-to-3 (p50) | time-to-5 (p50) | reach-1 rate | reach-3 rate | reach-5 rate |
|---|---|---|---|---|---|---|
| recon-fuzzer | 0.00h | 0.10h | 0.10h | 100.0% | 100.0% | 100.0% |
| echidna | 0.10h | 0.10h | 0.20h | 100.0% | 100.0% | 100.0% |
| medusa | 0.10h | 0.10h | 0.20h | 100.0% | 100.0% | 75.0% |
| foundry | 0.00h | 0.50h | 0.80h | 100.0% | 100.0% | 100.0% |

## Throughput metrics (if supported by log format)
Values are run-level rates aggregated per fuzzer; `n/a` indicates the parser could not recover that metric from logs.
| Fuzzer | Runs | Tx/s runs | Tx/s p50 [p25,p75] | Gas/s runs | Gas/s p50 [p25,p75] |
|---|---|---|---|---|---|
| recon-fuzzer | 4 | 4 | 5288.03 [4929.45,5602.05] | 4 | 24586558.50 [21618611.00,27933897.00] |
| echidna | 4 | 4 | 1886.60 [1840.01,1915.75] | 4 | 20770240482.00 [17734562144.50,24349296028.50] |
| medusa | 4 | 4 | 1241.50 [1196.50,1260.25] | 4 | 146828460.00 [144559563.25,148918299.25] |

## Progress metrics from logs (fuzzer-specific proxies)
Coverage/corpus values are parsed from each fuzzer's native progress output and are useful for trend context, not strict cross-fuzzer equivalence.
| Fuzzer | Runs | Seq/s runs | Seq/s p50 [p25,p75] | Coverage runs | Coverage p50 [p25,p75] | Corpus runs | Corpus p50 [p25,p75] |
|---|---|---|---|---|---|---|---|
| recon-fuzzer | 4 | 0 | n/a | 4 | 72298.00 [72239.00,72355.50] | 4 | 80.00 [77.75,82.25] |
| echidna | 4 | 0 | n/a | 4 | 84235.00 [82262.75,85994.50] | 4 | 146.00 [142.00,147.75] |
| medusa | 4 | 4 | 12.00 [11.75,12.25] | 4 | 5054.00 [4939.75,5110.25] | 4 | 199.00 [198.00,200.25] |

## Statistical comparison (Mann-Whitney U test)

Pairwise Mann-Whitney U tests on end-of-budget bug counts (two-sided).
Bonferroni correction applied for 6 comparison(s). Significance level: alpha = 0.05.

**Warnings:**
- One or more fuzzers have fewer than 5 runs. Statistical power may be limited.

| Fuzzer A | Fuzzer B | Median A | Median B | U statistic | p-value | p (corrected) | Significant |
|---|---|---|---|---|---|---|---|
| recon-fuzzer | echidna | 10 | 8 | 12.5 | 0.2059 | 1.0000 | no |
| recon-fuzzer | medusa | 10 | 7 | 15.0 | 0.0485 | 0.2912 | no |
| recon-fuzzer | foundry | 10 | 5 | 16.0 | 0.0228 | 0.1370 | no |
| echidna | medusa | 8 | 7 | 11.5 | 0.3529 | 1.0000 | no |
| echidna | foundry | 8 | 5 | 15.5 | 0.0360 | 0.2160 | no |
| medusa | foundry | 7 | 5 | 11.5 | 0.3688 | 1.0000 | no |

No pairwise comparison reached significance after Bonferroni correction.

> **Note:** The Mann-Whitney U test assesses whether one fuzzer tends to find
> more bugs than another across runs. It does not measure effect size or
> practical importance. Small sample sizes (fewer than 5 runs) reduce
> statistical power.

## Shape-based interpretation (rules of thumb)
- **Fast-start / early-plateau**: high early checkpoint median + early plateau time + low late discovery share.
- **Steady**: moderate AUC, later plateau, consistent improvements across checkpoints, moderate variance.
- **Slow-burn / late-surge**: low early checkpoints but high late discovery share and later plateau time; often higher final median.

## Limitations
- Core metrics in this section are count-based; use `broken_invariants.md` / `broken_invariants.csv` for invariant identities.
- Severity, exploitability, and root-cause uniqueness cannot be measured directly without richer per-bug metadata.
- Harness design still affects results; mitigate by keeping harness identical across fuzzers and reporting many runs.
