[bind10-dev] Enabling/disabling logging on per-message basis

Michal 'vorner' Vaner michal.vaner at nic.cz
Mon Mar 26 13:01:39 UTC 2012


Hello

So, I measured the impact of adding the map there, in ticket #1752. It turns if
there's a tight loop doing only logging of messages that are not output, the
performance drops to 73% (from 86114991 messages per second to 62564871). Jinmei
proposed further optimisation, but I believe that with the amount logging we do
in real code (we do more of the other stuff than the logging, we definitely
don't do 86 million messages per second), the impact would be pretty small.

Therefore the question is, do we want this unique feature? I believe the
implementation is realistic.

Thank you

-- 
Why TODO list in haskell? It handles infinite data structures.

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20120326/41a01d6c/attachment.bin>


More information about the bind10-dev mailing list