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

tests: add tests for 32bit high bit set in uuid parser

#253Merged
Comparing
bluetoothbot:koan/gap-hoist-uuid-bound-checks
(
8c6480f
) with
main
(
a64a854
)
CodSpeed Performance Gauge
0%
Untouched
20

Benchmarks

20 total
test_mac_to_int_cached
tests/benchmarks/test_mac_to_int.py
CodSpeed Performance Gauge
+2%
11.8 µs11.6 µs
test_manufacturer_data_to_raw_long
tests/benchmarks/test_manufacturer_data_to_raw.py
CodSpeed Performance Gauge
+1%
15.9 µs15.7 µs
test_manufacturer_data_to_raw_short
tests/benchmarks/test_manufacturer_data_to_raw.py
CodSpeed Performance Gauge
+1%
16 µs15.8 µs
test_parse_advertisement_data
tests/benchmarks/test_parse_gap.py
CodSpeed Performance Gauge
+1%
32.1 µs31.7 µs
test_parse_advertisement_data_tuple
tests/benchmarks/test_parse_gap_tuple.py
CodSpeed Performance Gauge
+1%
15.5 µs15.4 µs
test_newest_manufacturer_data_single
tests/benchmarks/test_newest_manufacturer_data.py
CodSpeed Performance Gauge
+1%
15.9 µs15.8 µs
test_parse_advertisement_data_tuple
tests/benchmarks/test_parse_gap.py
CodSpeed Performance Gauge
+1%
16.7 µs16.6 µs
test_parse_int_to_bluetooth_address_cached
tests/benchmarks/test_int_to_bluetooth_address.py
CodSpeed Performance Gauge
+1%
13.6 µs13.5 µs
test_parse_advertisement_16bit_uuid_list
tests/benchmarks/test_parse_gap_uuid_lists.py
CodSpeed Performance Gauge
+1%
22.9 µs22.8 µs
test_mac_to_int_uncached
tests/benchmarks/test_mac_to_int.py
CodSpeed Performance Gauge
0%
13 µs12.9 µs
test_parse_advertisement_128bit_uuid_list
tests/benchmarks/test_parse_gap_uuid_lists.py
CodSpeed Performance Gauge
0%
20.3 µs20.4 µs
test_parse_advertisement_data_tuple_uncached
tests/benchmarks/test_parse_gap_tuple.py
CodSpeed Performance Gauge
0%
65.1 µs65.2 µs
test_parse_advertisement_data_bytes
tests/benchmarks/test_parse_gap_bytes.py
CodSpeed Performance Gauge
0%
13 µs13 µs
test_parse_int_to_bluetooth_address_uncached
tests/benchmarks/test_int_to_bluetooth_address.py
CodSpeed Performance Gauge
0%
14.6 µs14.6 µs
test_parse_advertisement_single_tuple
tests/benchmarks/test_parse_gap.py
CodSpeed Performance Gauge
0%
14.5 µs14.5 µs
test_parse_advertisement_data_tuple_bytes_cache_fallthrough
tests/benchmarks/test_parse_gap_tuple.py
CodSpeed Performance Gauge
0%
38.9 µs38.9 µs
test_parse_advertisement_data_tuple_bytes
tests/benchmarks/test_parse_gap_bytes.py
CodSpeed Performance Gauge
0%
63.2 µs63.1 µs
test_parse_advertisement_32bit_uuid_list
tests/benchmarks/test_parse_gap_uuid_lists.py
CodSpeed Performance Gauge
0%
20.4 µs20.4 µs
test_parse_advertisement_mixed_uuid_lists
tests/benchmarks/test_parse_gap_uuid_lists.py
CodSpeed Performance Gauge
0%
29.2 µs29.2 µs
test_newest_manufacturer_data_multi
tests/benchmarks/test_newest_manufacturer_data.py
CodSpeed Performance Gauge
0%
15.9 µs15.9 µs

Commits

Click on a commit to change the comparison range
Base
main
a64a854
+0.19%
test(gap): cover 32-bit UUIDs with bit 31 set (signed-shift UB guard)
076c09d
27 days ago
by bluetoothbot
+0.24%
test(gap): keep 32-bit UUID high-bit tests, drop perf code change
8c6480f
27 days ago
by bluetoothbot
© 2026 CodSpeed Technology
Home Terms Privacy Docs