NethermindEth / Paprika

A custom storage engine of Nethermind, benefiting from the alignment of the underlying data structure with the layout of State & Storage trees of Ethereum.
GNU Lesser General Public License v3.0
91 stars 14 forks source link

SlottedArrayBenchmarks.Hash_collisions uses a fixed size to make it comparable #347

Closed Scooletz closed 4 months ago

Scooletz commented 4 months ago

This PR changes one of the benchmarks to make it fixed size, so that the latter optimizations are comparable (see: #341 for example). It also sets the assertion so only the values that are set are searched for (no looping over various keys).

github-actions[bot] commented 4 months ago

Code Coverage

Package Line Rate Branch Rate Health
Paprika 85% 79%
Summary 85% (3913 / 4617) 79% (1233 / 1570)

Minimum allowed line rate is 75%