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

perf(gap): inline 1-byte signed decode for TX Power Level

#249Merged
Comparing
bluetoothbot:koan/inline-tx-power-decode
(
cf9a85a
) with
main
(
3521434
)
CodSpeed Performance Gauge
+5%
Improvement
2
Untouched
9

Benchmarks

11 total
test_parse_advertisement_data_tuple_bytes
tests/benchmarks/test_parse_gap_bytes.py
CodSpeed Performance Gauge
+5%
73.4 µs70 µs
test_parse_advertisement_data_tuple_uncached
tests/benchmarks/test_parse_gap_tuple.py
CodSpeed Performance Gauge
+5%
75.2 µs71.7 µs
test_parse_advertisement_single_tuple
tests/benchmarks/test_parse_gap.py
CodSpeed Performance Gauge
+1%
14.8 µs14.6 µs
test_mac_to_int_uncached
tests/benchmarks/test_mac_to_int.py
CodSpeed Performance Gauge
0%
13 µs13 µs
test_parse_advertisement_data_tuple
tests/benchmarks/test_parse_gap.py
CodSpeed Performance Gauge
0%
31.7 µs31.7 µs
test_parse_advertisement_data
tests/benchmarks/test_parse_gap.py
CodSpeed Performance Gauge
0%
31.7 µs31.6 µs
test_parse_advertisement_data_tuple
tests/benchmarks/test_parse_gap_tuple.py
CodSpeed Performance Gauge
0%
15.4 µs15.4 µs
test_mac_to_int_cached
tests/benchmarks/test_mac_to_int.py
CodSpeed Performance Gauge
0%
11.8 µs11.8 µs
test_parse_int_to_bluetooth_address_uncached
tests/benchmarks/test_int_to_bluetooth_address.py
CodSpeed Performance Gauge
0%
14.6 µs14.7 µs
test_parse_advertisement_data_bytes
tests/benchmarks/test_parse_gap_bytes.py
CodSpeed Performance Gauge
-1%
12.8 µs12.9 µs
test_parse_int_to_bluetooth_address_cached
tests/benchmarks/test_int_to_bluetooth_address.py
CodSpeed Performance Gauge
-6%
13.6 µs14.4 µs

Commits

Click on a commit to change the comparison range
Base
main
3521434
+0.9%
perf(gap): inline 1-byte signed decode for TX Power Level
111974f
5 hours ago
by bluetoothbot
+3.93%
perf(gap): name int8 signed-fold constants per review
b024eb7
5 hours ago
by bluetoothbot
+0.08%
fix: resolve CI failures on #249 (attempt 1)
cf9a85a
5 hours ago
by bluetoothbot
© 2026 CodSpeed Technology
Home Terms Privacy Docs