fast_new - Branch - python-zeroconf/python-zeroconf - CodSpeed

feat: speed up parsing incoming records

#1458Merged

Comparing

fast_new

(

bee7a74

)

with

master

(

9f6af54

)

CodSpeed Performance Gauge

+44%

Improvement

1

Untouched

2

Benchmarks

3 total

test_parse_incoming_message

tests/benchmarks/test_incoming.py

CodSpeed Performance Gauge

+44%

326.6 µs

226.1 µs

test_txt_properties

tests/benchmarks/test_txt_properties.py

CodSpeed Performance Gauge

0%

37.8 µs

38 µs

test_parse_outgoing_message

tests/benchmarks/test_outgoing.py

CodSpeed Performance Gauge

-2%

248.5 µs

253.9 µs

Commits

Click on a commit to change the comparison range

Base

master

9f6af54

+45.08%

chore: fix types

3ffc4b4

1 year ago

by bdraco

-0.61%

chore: speed up DNSQuestion creation as well

bee7a74

1 year ago

by bdraco