Avatar for the Bluetooth-Devices user
Bluetooth-Devices
dbus-fast
BlogDocsChangelog

perf: reuse bytearray buffer in _next_message instead of allocating

#597Merged
Comparing
optimize/reuse-buffer-next-message
(
62596eb
) with
main
(
e161c4e
)
CodSpeed Performance Gauge
-1%
Untouched
6

Benchmarks

6 total
test_unmarshall_multiple_bluez_properties_message_socket
tests/benchmarks/test_unmarshall.py
CodSpeed Performance Gauge
+2%
97.1 µs95.6 µs
test_marshall_bluez_get_managed_objects_message
tests/benchmarks/test_marshall.py
CodSpeed Performance Gauge
0%
68.1 µs68.1 µs
test_unmarshall_bluez_rssi_message
tests/benchmarks/test_unmarshall.py
CodSpeed Performance Gauge
-1%
44.3 µs44.6 µs
test_unmarshall_multiple_bluez_properties_message
tests/benchmarks/test_unmarshall.py
CodSpeed Performance Gauge
-1%
94.6 µs95.9 µs
test_unmarshall_bluez_interfaces_added_message
tests/benchmarks/test_unmarshall.py
CodSpeed Performance Gauge
-3%
64 µs65.8 µs
test_unmarshall_bluez_properties_message
tests/benchmarks/test_unmarshall.py
CodSpeed Performance Gauge
-3%
41.3 µs42.5 µs

Commits

Click on a commit to change the comparison range
Base
main
e161c4e
-1.17%
perf: reuse bytearray buffer in _next_message instead of allocating new
a593850
19 days ago
by bdraco
+0.16%
Merge branch 'main' into optimize/reuse-buffer-next-message
62596eb
1 day ago
by bdraco
© 2026 CodSpeed Technology
Home Terms Privacy Docs