Avatar for the BobTheBuidler user
BobTheBuidler
faster-hexbytes
BlogDocsChangelog

GitHub Actions run

5 days ago 0171700 perf/hexbytes-bytes-fast-path pull_request

Compare

Base
Search a run

Head
perf: add bytes fast-path in HexBytes.__new__
#73
perf/hexbytes-bytes-fast-path
5 days ago
CPU Simulation

Compare
Suggested base runs:
619 total
test_faster_to_bytes['0x'+'00'*64]
benchmarks/test__utils_benchmarks.py
1.2 ms
test_faster_hexstr_to_bytes['0xdeadbeef']
benchmarks/test__utils_benchmarks.py
847.4 µs
test_faster_hexstr_to_bytes['']
benchmarks/test__utils_benchmarks.py
314.1 µs
test_faster_to_bytes['']
benchmarks/test__utils_benchmarks.py
332.3 µs
test_faster_hexstr_to_bytes['0x'+'0123456789abcdef'*8]
benchmarks/test__utils_benchmarks.py
1.2 ms
test_faster_hexstr_to_bytes['0x'+'00'*64]
benchmarks/test__utils_benchmarks.py
1.2 ms
test_faster_hexstr_to_bytes['0x'+'00ff'*16]
benchmarks/test__utils_benchmarks.py
1 ms
test_faster_hexstr_to_bytes['0x'+'0'*128]
benchmarks/test__utils_benchmarks.py
1.2 ms
test_faster_hexstr_to_bytes['deadbeef']
benchmarks/test__utils_benchmarks.py
731.4 µs
test_faster_to_bytes['0x']
benchmarks/test__utils_benchmarks.py
340.9 µs
test_faster_to_bytes['0x'+'a'*128]
benchmarks/test__utils_benchmarks.py
1.2 ms
test_faster_to_bytes[2**16]
benchmarks/test__utils_benchmarks.py
524.6 µs
test_faster_to_bytes['0x1234']
benchmarks/test__utils_benchmarks.py
857.7 µs
test_faster_hexstr_to_bytes['0xabcdef']
benchmarks/test__utils_benchmarks.py
843.1 µs
test_faster_hexstr_to_bytes['0xCAFEBABE']
benchmarks/test__utils_benchmarks.py
847.5 µs
test_faster_hexstr_to_bytes['0x'+'1234567890abcdef'*8]
benchmarks/test__utils_benchmarks.py
1.2 ms
test_faster_hexstr_to_bytes['0x'+'a'*128]
benchmarks/test__utils_benchmarks.py
1.2 ms
test_faster_hexstr_to_bytes['0x'+'1'*64]
benchmarks/test__utils_benchmarks.py
1 ms
test_faster_to_bytes['deadbeef']
benchmarks/test__utils_benchmarks.py
751.7 µs
test_faster_to_bytes['0xabcdef']
benchmarks/test__utils_benchmarks.py
863.2 µs
test_faster_to_bytes['0xdeadbeef']
benchmarks/test__utils_benchmarks.py
867.8 µs
test_faster_to_bytes[123456]
benchmarks/test__utils_benchmarks.py
524.5 µs
test_faster_to_bytes['0x'+'ff'*32]
benchmarks/test__utils_benchmarks.py
1 ms
test_faster_to_bytes[2**8]
benchmarks/test__utils_benchmarks.py
508.5 µs
test_faster_to_bytes[2**32]
benchmarks/test__utils_benchmarks.py
650.2 µs
© 2026 CodSpeed Technology
Home Terms Privacy Docs