On Friday 15 August 2008 11:41, [EMAIL PROTECTED] wrote:
> Author: nextgens
> Date: 2008-08-15 10:41:57 +0000 (Fri, 15 Aug 2008)
> New Revision: 21890
> 
> Modified:
>    trunk/freenet/src/freenet/io/comm/UdpSocketHandler.java
> Log:
> remove the call to Logger.shouldLog() we spend too much time there

Does this commit make any difference? It's only once per packet...
> 
> Modified: trunk/freenet/src/freenet/io/comm/UdpSocketHandler.java
> ===================================================================
> --- trunk/freenet/src/freenet/io/comm/UdpSocketHandler.java   2008-08-15 
10:15:55 UTC (rev 21889)
> +++ trunk/freenet/src/freenet/io/comm/UdpSocketHandler.java   2008-08-15 
10:41:57 UTC (rev 21890)
> @@ -159,7 +159,6 @@
>       
>       private void realRun(DatagramPacket packet) {
>               // Single receiving thread
> -             logDEBUG = Logger.shouldLog(Logger.MINOR, this);
>               boolean gotPacket = getPacket(packet);
>               long now = System.currentTimeMillis();
>               if (gotPacket) {
> 
> _______________________________________________
> cvs mailing list
> [EMAIL PROTECTED]
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> 
> 

Attachment: pgpDqFEv7bA81.pgp
Description: PGP signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to