BobTheBuidler
faster-hexbytes
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix: TypeError in `HexBytes.__new__` if called from subclass
#10
Merged
Comparing
helper
(
f6b04ed
) with
master
(
a5cee88
)
CodSpeed Performance Gauge
×2.9
Improvement
29
Untouched
590
No successful run was found on
master
(
5ef715f
) during the generation of this report, so
a5cee88
was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
619 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[b'\\x01'*2048]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.9
3.8 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[long alternating]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.9
2,056.9 µs
719.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[b'a'*1024]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.9
2,056.8 µs
720.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[all byte values]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.8
692.2 µs
245.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[4-byte pattern]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.8
691.9 µs
245.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[mixed pattern]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.8
595.7 µs
212.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[b'\\x01'*100]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.8
421.9 µs
152.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[repeated 0-9]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.8
421.8 µs
152.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[alternating 0xaa/0x55]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.8
360.2 µs
130.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[b'\\xff'*64]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.8
360.1 µs
130.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[alternating 0x00/0xff]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.8
360.1 µs
130.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[two patterns]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.8
360.3 µs
130.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[ascii sentence]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
323.7 µs
118.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[b'\\x00'*32]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
304.4 µs
111.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[palindrome]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
283.3 µs
104.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[0-9]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
266.3 µs
98.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[b'\\x7f'*8]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
263 µs
97.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[multiples of 0x10]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
266.1 µs
98.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[palindrome ascii]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
261.3 µs
96.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[b'\\x80'*8]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
262.8 µs
97.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[b'\\x10\\x20\\x30\\x40\\x50']
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
257.9 µs
95.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[b'\\xde\\xad\\xbe\\xef']
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
256.3 µs
95.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[b'\\x00\\xff\\x00\\xff']
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
256 µs
95.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[b'abc']
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
254.6 µs
94.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_repr[b'\\x01\\x02\\x03']
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
×2.7
254.6 µs
94.5 µs
1
2
3
4
5
...
25
Commits
Click on a commit to change the comparison range
Base
master
a5cee88
-0.04%
Update main.py
772bb7f
7 months ago
by BobTheBuidler
×2.9
Merge branch 'master' into helper
f6b04ed
7 months ago
by BobTheBuidler
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs