Avatar for the python-zeroconf user
python-zeroconf
python-zeroconf
BlogDocsChangelog

feat: speed up adding and expiring records in the DNSCache

#1490Merged
Comparing
speed_up_adding_records_to_cache
(
e7efb1a
) with
master
(
854fef6
)
CodSpeed Performance Gauge
+8%
Improvement
1
Untouched
5

Benchmarks

6 total
test_expire_no_records_to_expire
tests/benchmarks/test_cache.py
CodSpeed Performance Gauge
+8%
18.4 µs17.1 µs
test_sending_packets
tests/benchmarks/test_send.py
CodSpeed Performance Gauge
0%
52.8 µs52.7 µs
test_parse_incoming_message
tests/benchmarks/test_incoming.py
CodSpeed Performance Gauge
0%
221 µs220.5 µs
test_add_expire_1000_records
tests/benchmarks/test_cache.py
CodSpeed Performance Gauge
0%
4.5 ms4.5 ms
test_parse_outgoing_message
tests/benchmarks/test_outgoing.py
CodSpeed Performance Gauge
0%
248.8 µs249.2 µs
test_txt_properties
tests/benchmarks/test_txt_properties.py
CodSpeed Performance Gauge
0%
37.8 µs37.9 µs

Commits

Click on a commit to change the comparison range
Base
master
854fef6
+1.36%
feat: speed up adding records to the DNSCache
a05695d
1 year ago
by bdraco
+6.99%
Merge branch 'master' into speed_up_adding_records_to_cache
26738b4
1 year ago
by bdraco
-0.17%
chore: refactor
e7efb1a
1 year ago
by bdraco
© 2026 CodSpeed Technology
Home Terms Privacy Docs