Repository navigation
tests-benchmark@v0.0.11
Pre-releaseBenchmarks now verify, not just consume
Previously a benchmark was considered successful if it burned the gas it was supposed to burn. That is no longer enough. A verification module, on-chain account verification, and post-state validation across the stateful suite mean a benchmark now asserts receipt status and final state.
Opcode counting landed end to end
--extract-opcode-count traces which opcodes a benchmark actually executed. The count is recorded alongside stateful benchmark results, its tracing time is bounded so it cannot stall a run, and collection is limited to benchmark tests so the rest of the test suite pays nothing for it. This closes the gap between "this test is named test_sstore" and "this test spent its gas on SSTORE".
Wider worst-case coverage
New and strengthened cases across SSTORE (including a dedicated worst-case test and a stacked storage-commit scenario), TSTORE (consolidated, plus a key-distribution variant), MOD (distinct chains rather than a repeated value), CALLDATALOAD (chained partial-word reads), modexp, point evaluation, and randomized jumpdest analysis with pre-funded CREATE targets.
The stateful tests were reorganized into a clearer folder layout, and duplicated and mis-tagged cases were removed — fewer cases, less overlap between them.
Filling got faster
The keccak max-permutations search, precompile input caching, an optimized bn128 implementation, and a dedicated pre-alloc group for test_blockhash together cut a large amount of fill time. On the CI side, benchmarks are now filled at 1M gas on every PR and validated against EELS, so breakage surfaces before a release rather than during one.
Before you compare numbers
test_mod, test_blockhash, and the precompile benchmarks changed shape in this release. Measurements taken against v0.0.10 are not directly comparable — re-baseline rather than diffing against old results.
Assets
- Genesis files
- Fixtures
Thanks to everyone who contributed to this release.
Full Changelog: https://github.com/ethereum/execution-specs/compare/tests-benchmark@v0.0.10...tests-benchmark@v0.0.11