Hi,
As I'm attempting to measure the performance (response time) of local
dns-servers I had some problems when using timing outside of the
method, especially on slow hardware. On the hardware I have tested on
the run time of the dns.query.udp() method is about 3-5ms more than the
actual look up (packet capture). My attached patch make that time about
0.1ms compared to captured packets on the slowest hardware I've tested on.

I think this is something more users of dnspython would benefit from,
looking forward to thoughts on the subject.

Regards, Mattias

Attachment: patch.diff
Description: Binary data

_______________________________________________
dnspython-dev mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo/dnspython-dev

Reply via email to