Avatar for the esphome user
esphome
aioesphomeapi
BlogDocsChangelog

Enable ruff PGH (pygrep-hooks) rules

#1684Merged
Comparing
bluetoothbot:koan/ruff-pgh
(
47c0547
) with
main
(
dc32bd4
)
CodSpeed Performance Gauge
0%
Untouched
40

Benchmarks

40 total
test_noise_encrypt_cipher[1024]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
+2%
540.8 µs531.8 µs
test_raw_ble_plain_text_with_callback
tests/benchmarks/test_bluetooth.py
CodSpeed Performance Gauge
+1%
31.1 µs30.8 µs
test_noise_write_packets[128]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
+1%
703.3 µs697.3 µs
test_list_entities_sensor_process_packet
tests/benchmarks/test_list_entities.py
CodSpeed Performance Gauge
+1%
25.9 µs25.6 µs
test_list_entities_typical_device_batch
tests/benchmarks/test_list_entities.py
CodSpeed Performance Gauge
+1%
55.9 µs55.6 µs
test_sensor_state_response
tests/benchmarks/test_state_messages.py
CodSpeed Performance Gauge
+1%
59.7 µs59.3 µs
test_noise_encrypt_cipher[128]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
+1%
383.4 µs381.5 µs
test_noise_messages[0]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_raw_ble_plain_text
tests/benchmarks/test_bluetooth.py
CodSpeed Performance Gauge
0%
21.1 µs21 µs
test_noise_write_packets[64]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
656.3 µs653.9 µs
test_raw_ble_plain_text_different_advs
tests/benchmarks/test_bluetooth.py
CodSpeed Performance Gauge
0%
17.5 µs17.5 µs
test_noise_messages[64]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_noise_encrypt_cipher[64]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
342.8 µs342 µs
test_noise_messages[1024]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
1.8 ms1.8 ms
test_binary_sensor_state_response
tests/benchmarks/test_state_messages.py
CodSpeed Performance Gauge
0%
59.1 µs59 µs
test_noise_make_packets[16384]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
5.7 ms5.7 ms
test_noise_write_packets[16384]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
5.7 ms5.7 ms
test_list_entities_light_from_pb
tests/benchmarks/test_list_entities.py
CodSpeed Performance Gauge
0%
140.8 µs140.6 µs
test_noise_encrypt_cipher[16384]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
3.9 ms3.9 ms
test_list_entities_sensor_from_pb
tests/benchmarks/test_list_entities.py
CodSpeed Performance Gauge
0%
81.6 µs81.5 µs
test_noise_messages[16384]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
15 ms15 ms
test_mixed_state_responses
tests/benchmarks/test_state_messages.py
CodSpeed Performance Gauge
0%
2 ms2 ms
test_climate_state_response
tests/benchmarks/test_state_messages.py
CodSpeed Performance Gauge
0%
135.5 µs135.6 µs
test_list_entities_climate_process_packet
tests/benchmarks/test_list_entities.py
CodSpeed Performance Gauge
0%
28.4 µs28.4 µs
test_sending_light_command_request_with_bool
tests/benchmarks/test_requests.py
CodSpeed Performance Gauge
0%
47.7 µs47.7 µs

Commits

Click on a commit to change the comparison range
Base
main
dc32bd4
+0.06%
Enable ruff PGH and replace blanket noqa/type ignore directives
47c0547
12 hours ago
by bluetoothbot
© 2026 CodSpeed Technology
Home Terms Privacy Docs