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

fix(bench): cache bound methods to avoid _PyObject_GetMethod overhead

#606Merged
Comparing
bench/cache-bound-methods
(
e30c60c
) with
main
(
065ef42
)
CodSpeed Performance Gauge
+1%
Untouched
6

Benchmarks

6 total
test_unmarshall_bluez_rssi_message
tests/benchmarks/test_unmarshall.py
CodSpeed Performance Gauge
+3%
44.8 µs43.6 µs
test_unmarshall_bluez_properties_message
tests/benchmarks/test_unmarshall.py
CodSpeed Performance Gauge
+2%
42.2 µs41.5 µs
test_unmarshall_bluez_interfaces_added_message
tests/benchmarks/test_unmarshall.py
CodSpeed Performance Gauge
+1%
65.2 µs64.4 µs
test_unmarshall_multiple_bluez_properties_message
tests/benchmarks/test_unmarshall.py
CodSpeed Performance Gauge
0%
95 µs94.6 µs
test_unmarshall_multiple_bluez_properties_message_socket
tests/benchmarks/test_unmarshall.py
CodSpeed Performance Gauge
0%
97.3 µs96.9 µs
test_marshall_bluez_get_managed_objects_message
tests/benchmarks/test_marshall.py
CodSpeed Performance Gauge
0%
67.9 µs68.1 µs

Commits

Click on a commit to change the comparison range
Base
main
065ef42
+1.07%
fix(bench): cache bound methods to avoid _PyObject_GetMethod overhead
e30c60c
1 day ago
by bdraco
© 2026 CodSpeed Technology
Home Terms Privacy Docs