BobTheBuidler
faster-hexbytes
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: use librt BytesWriter for faster small ints
#109
Closed
Comparing
perf/librt-byteswriter-small-int
(
e52a575
) with
master
(
76d75cf
)
CodSpeed Performance Gauge
-1%
Untouched
623
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
623 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_to_bytes[255]
benchmarks/test__utils_benchmarks.py
CodSpeed Performance Gauge
+5%
505.7 µs
483.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_to_bytes[1]
benchmarks/test__utils_benchmarks.py
CodSpeed Performance Gauge
+4%
504.3 µs
483.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_to_bytes[memoryview(b'a'*1024)]
benchmarks/test__utils_benchmarks.py
CodSpeed Performance Gauge
+4%
1.1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_to_bytes[0]
benchmarks/test__utils_benchmarks.py
CodSpeed Performance Gauge
+2%
484.5 µs
473.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new[255]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+2%
1.5 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new[1]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+2%
1.5 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new['']
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+2%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new['0x']
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+2%
1.4 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new[0]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
1.5 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new['0xdeadbeef']
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
1.9 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new['0xCAFEBABE']
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
1.9 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_to_bytes[memoryview(b'\\x01'*2048)]
benchmarks/test__utils_benchmarks.py
CodSpeed Performance Gauge
+1%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new['deadbeef']
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
1.8 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new['0xabcdef']
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
1.9 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new['0x1234']
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
1.9 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new[2**64]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
1.7 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new['0x'+'ff'*32]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
2 ms
2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new[2**256-1]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
1.8 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new[bytearray(b'a'*1024)]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
2 ms
2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new[bytearray(b'\\x01'*2048)]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
3.2 ms
3.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new['0x'+'a'*128]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
2.2 ms
2.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new['0x'+'00'*64]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
2.2 ms
2.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_to_bytes[memoryview(long alternating)]
benchmarks/test__utils_benchmarks.py
CodSpeed Performance Gauge
+1%
1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new[2**8]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
1.5 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_faster_hexbytes_new[memoryview(long alternating)]
benchmarks/test_main_benchmarks.py
CodSpeed Performance Gauge
+1%
2.2 ms
2.2 ms
1
2
3
4
5
...
25
Commits
Click on a commit to change the comparison range
Base
master
76d75cf
-0.59%
Update params.py
e52a575
3 days ago
by BobTheBuidler
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs