Avatar for the esphome user
esphome
aioesphomeapi
BlogDocsChangelog

Rework process_packet to handle the common case of a single callback

#1117Merged
Comparing
msg_type_ref
(
885253e
) with
main
(
af62c3b
)
CodSpeed Performance Gauge
+5%
Improvements
1
Regressions
0
Untouched
8
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

test_raw_ble_plain_text_with_callback
tests/benchmarks/test_bluetooth.py::test_raw_ble_plain_text_with_callback
CodSpeed Performance Gauge
+5%
40.4 µs
38.5 µs

Passed

test_raw_ble_plain_text
tests/benchmarks/test_bluetooth.py::test_raw_ble_plain_text
CodSpeed Performance Gauge
+1%
22.2 µs
22 µs
test_raw_ble_plain_text_different_advs
tests/benchmarks/test_bluetooth.py::test_raw_ble_plain_text_different_advs
CodSpeed Performance Gauge
0%
19.9 µs
19.9 µs
test_sending_empty_light_command_request
tests/benchmarks/test_requests.py::test_sending_empty_light_command_request
CodSpeed Performance Gauge
0%
45.5 µs
45.4 µs
test_multiple_ble_adv_messages_single_read
tests/benchmarks/test_bluetooth.py::test_multiple_ble_adv_messages_single_read
CodSpeed Performance Gauge
0%
27.6 µs
27.6 µs
test_noise_messages[16384]
tests/benchmarks/test_noise.py::test_noise_messages[16384]
CodSpeed Performance Gauge
0%
16.3 ms
16.4 ms
test_noise_messages[0]
tests/benchmarks/test_noise.py::test_noise_messages[0]
CodSpeed Performance Gauge
0%
2.6 ms
2.6 ms
test_sending_light_command_request_with_bool
tests/benchmarks/test_requests.py::test_sending_light_command_request_with_bool
CodSpeed Performance Gauge
0%
50.4 µs
50.6 µs
test_noise_messages[1024]
tests/benchmarks/test_noise.py::test_noise_messages[1024]
CodSpeed Performance Gauge
-1%
3.3 ms
3.3 ms

Commits

Click on a commit to change the comparison range
Base
main
af62c3b
+5%
Rework process_packet to handle the common case of a single callback
148c62a
2 days ago
by bdraco
0%
Rework process_packet to handle the common case of a single callback
d23ecbf
2 days ago
by bdraco
0%
adjust comment
43564db
2 days ago
by bdraco
0%
adjust comment
928e1e6
2 days ago
by bdraco
0%
adjust comment
f0a79bc
2 days ago
by bdraco
0%
adjust comment
885253e
2 days ago
by bdraco
Home Terms PrivacyDocs