Avatar for the Bluetooth-Devices user
Bluetooth-Devices
bluetooth-data-tools
BlogDocsChangelog

perf: inline int.from_bytes in UUID conversion functions

#202Closed
Comparing
optimize-uuid-inline-from-bytes
(
79b2465
) with
main
(
7a74ee9
)
CodSpeed Performance Gauge
0%
Untouched
9

Benchmarks

9 total
test_parse_advertisement_single_tuple
tests/benchmarks/test_parse_gap.py
CodSpeed Performance Gauge
+1%
18.7 µs18.6 µs
test_parse_advertisement_data_tuple
tests/benchmarks/test_parse_gap.py
CodSpeed Performance Gauge
0%
35.8 µs35.6 µs
test_parse_advertisement_data
tests/benchmarks/test_parse_gap.py
CodSpeed Performance Gauge
0%
36.1 µs36.1 µs
test_parse_int_to_bluetooth_address_uncached
tests/benchmarks/test_int_to_bluetooth_address.py
CodSpeed Performance Gauge
0%
26.6 µs26.6 µs
test_parse_int_to_bluetooth_address_cached
tests/benchmarks/test_int_to_bluetooth_address.py
CodSpeed Performance Gauge
0%
17.6 µs17.6 µs
test_parse_advertisement_data_tuple_uncached
tests/benchmarks/test_parse_gap_tuple.py
CodSpeed Performance Gauge
0%
79.6 µs79.7 µs
test_parse_advertisement_data_bytes
tests/benchmarks/test_parse_gap_bytes.py
CodSpeed Performance Gauge
0%
16.9 µs17 µs
test_parse_advertisement_data_tuple
tests/benchmarks/test_parse_gap_tuple.py
CodSpeed Performance Gauge
-1%
19.6 µs19.7 µs
test_parse_advertisement_data_tuple_bytes
tests/benchmarks/test_parse_gap_bytes.py
CodSpeed Performance Gauge
-1%
77.5 µs78.2 µs

Commits

Click on a commit to change the comparison range
Base
main
7a74ee9
-0.09%
perf: inline int.from_bytes in UUID conversion functions
79b2465
19 days ago
by bdraco
© 2026 CodSpeed Technology
Home Terms Privacy Docs