Avatar for the BobTheBuidler user
BobTheBuidler
evmspec
BlogDocsChangelog

fix: align HexBytes32 hash with bytes

#258Merged
Comparing
fix/hexbytes32-hash-20260128080043
(
ae64bc4
) with
master
(
29b107e
)
CodSpeed Performance Gauge
×2.1
Improvement
16
Untouched
229
Skipped
20

Benchmarks

265 total
test_hexbytes32_getitem_int[first-all-zero]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
×2.1
651.1 ms307.4 ms
test_hexbytes32_getitem_int[last-all-zero]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
×2.1
650.7 ms307.4 ms
test_hexbytes32_getitem_int[first-hash]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
×2.1
650.6 ms307.4 ms
test_hexbytes32_getitem_int[last-hash]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
×2.1
650.3 ms307.4 ms
test_hexbytes32_getitem_int[first-address-topic]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
×2.1
650.3 ms307.4 ms
test_hexbytes32_getitem_int[last-address-topic]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
×2.1
650.3 ms307.4 ms
test_hexbytes32_getitem_int[middle-all-zero]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
×2.1
650.3 ms307.4 ms
test_hexbytes32_getitem_int[last-padded-small]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
×2.1
650 ms307.4 ms
test_hexbytes32_getitem_int[middle-padded-small]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
×2.1
650 ms307.4 ms
test_hexbytes32_getitem_int[middle-address-topic]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
×2.1
650 ms307.4 ms
test_hexbytes32_getitem_int[first-padded-small]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
×2.1
650 ms307.4 ms
test_hexbytes32_getitem_int[middle-hash]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
×2.1
650 ms307.4 ms
test_hexbytes32_hash[address-topic]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
+16%
303.1 ms260.7 ms
test_hexbytes32_hash[padded-small]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
+16%
303.1 ms261.3 ms
test_hexbytes32_hash[all-zero]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
+16%
303.1 ms261.3 ms
test_hexbytes32_hash[hash]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
+16%
302.5 ms261.3 ms
test_hexbytes32_construct[bytes]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
+1%
255.1 ms252.6 ms
test_status_enum[hex-upper-failure]
benchmarks/test_enum_benchmarks.py
CodSpeed Performance Gauge
+1%
65.1 ms64.6 ms
test_hexbytes32_construct[all-zero]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
+1%
397.1 ms394.2 ms
test_uints_construct[uint184-zero]
benchmarks/test_uints_benchmarks.py
CodSpeed Performance Gauge
+1%
171.5 ms170.2 ms
test_uints_construct[uint120-zero]
benchmarks/test_uints_benchmarks.py
CodSpeed Performance Gauge
+1%
171.5 ms170.2 ms
test_hexbytes32_construct[hexstr-no-prefix]
benchmarks/test_hexbytes_benchmarks.py
CodSpeed Performance Gauge
+1%
319.5 ms317.3 ms
test_uints_construct[uint24-zero]
benchmarks/test_uints_benchmarks.py
CodSpeed Performance Gauge
+1%
171.3 ms170.1 ms
test_uints_construct[uint48-zero]
benchmarks/test_uints_benchmarks.py
CodSpeed Performance Gauge
+1%
171.3 ms170.2 ms
test_address_decode_hook[precompile-1]
benchmarks/test_address_benchmarks.py
CodSpeed Performance Gauge
+1%
224.3 ms222.9 ms

Commits

Click on a commit to change the comparison range
Base
master
29b107e
×2.1
fix: align HexBytes32 hashing for correct key lookups
ae64bc4
1 day ago
by BobTheBuidler
© 2026 CodSpeed Technology
Home Terms Privacy Docs