[slf4j-user] Profiler

Chris Roffler croffler at earthlink.net
Fri May 22 22:09:01 CEST 2009


Thanks for your replay 

Christian 

> [Original Message]
> From: Christian Stein <sormuras at gmx.net>
> To: User list for the slf4j project <user at slf4j.org>
> Date: 5/22/2009 3:31:13 PM
> Subject: Re: [slf4j-user] Profiler
>
> muleman schrieb:
> > I am testing the Profiler from SLF4J
> > 
> > Below is the code and the execution results. The numbers just don't
seem to
> > add up.
>
> Hi muleman,
>
> you're performing a micro-benchmark (see 1) here. Put your test code in a 
> for-loop and you'll get some "better" results, far from 100% accurate.
>
>
> 1111111111111
> 1111111111111
> 1111111111111
> + Profiler [BASIC 0]
> |-- elapsed time                      [A]   284,952 microseconds.
> |-- elapsed time                      [B]    42,742 microseconds.
> |-- elapsed time                  [OTHER]    40,228 microseconds.
> |-- Total                         [BASIC]  1088,685 microseconds.
>
> 1111111111111
> 1111111111111
> 1111111111111
> + Profiler [BASIC 1]
> |-- elapsed time                      [A]    37,714 microseconds.
> |-- elapsed time                      [B]    36,317 microseconds.
> |-- elapsed time                  [OTHER]    36,318 microseconds.
> |-- Total                         [BASIC]   121,245 microseconds.
>
>
> Hope that helps,
> Christian
>
> 1: http://wikis.sun.com/display/HotSpotInternals/MicroBenchmarks
> _______________________________________________
> user mailing list
> user at slf4j.org
> http://www.slf4j.org/mailman/listinfo/user
>
> __________ NOD32 4097 (20090522) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>





More information about the slf4j-user mailing list