<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Add benchmarking tests to MooseX::Log::Log4perl to verify overhead</title>
	<atom:link href="http://www.brabbel.net/2009/05/20/add-benchmarking-tests-to-moosexloglog4perl-to-verify-overhead/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brabbel.net/2009/05/20/add-benchmarking-tests-to-moosexloglog4perl-to-verify-overhead/</link>
	<description>Voices on the net...</description>
	<lastBuildDate>Sat, 19 Jun 2010 12:15:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Drew Stephens</title>
		<link>http://www.brabbel.net/2009/05/20/add-benchmarking-tests-to-moosexloglog4perl-to-verify-overhead/comment-page-1/#comment-1575</link>
		<dc:creator>Drew Stephens</dc:creator>
		<pubDate>Tue, 15 Sep 2009 05:40:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.brabbel.net/wp/?p=239#comment-1575</guid>
		<description>This is on a 3GHz Core2 Duo running Mac OS X 10.5.3:

                     Rate MooseX-L4p log MooseX-L4p logger Log4perl method Log4perl direct
MooseX-L4p log    28006/s             --               -3%             -4%             -6%
MooseX-L4p logger 28792/s             3%                --             -2%             -4%
Log4perl method   29305/s             5%                2%              --             -2%
Log4perl direct   29861/s             7%                4%              2%              --</description>
		<content:encoded><![CDATA[<p>This is on a 3GHz Core2 Duo running Mac OS X 10.5.3:</p>
<p>                     Rate MooseX-L4p log MooseX-L4p logger Log4perl method Log4perl direct<br />
MooseX-L4p log    28006/s             &#8212;               -3%             -4%             -6%<br />
MooseX-L4p logger 28792/s             3%                &#8212;             -2%             -4%<br />
Log4perl method   29305/s             5%                2%              &#8212;             -2%<br />
Log4perl direct   29861/s             7%                4%              2%              &#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Random</title>
		<link>http://www.brabbel.net/2009/05/20/add-benchmarking-tests-to-moosexloglog4perl-to-verify-overhead/comment-page-1/#comment-1547</link>
		<dc:creator>Random</dc:creator>
		<pubDate>Thu, 11 Jun 2009 21:49:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.brabbel.net/wp/?p=239#comment-1547</guid>
		<description>Thanks to all who posted their results so far!

Interesting to see that perl method call overhead seems to be varying a lot on different platforms. It seems like older CPUs or memory have a negative effect (guess it&#039;s mostly CPU extensions which are not available). Seems like the self-compiled gentoo (which was also probably running on very nostalgic hardware as it only had 14000/s) had the worst values I ever saw.

Most interesting were the results of Ron Savage, which even indicated that MooseX::Log::Log4perl is even faster then using Log4perl direct, never thought I implemented it that good ;-) 

Any comments if that speed hit is worth having cleaner code and especially how much is ok, would be appriciated...
Personally I would take 5% speed hit if coding a non-realtime app, but not more, as I see it as a waste of resources then, and risk getting into trouble sooner, if my app grows...</description>
		<content:encoded><![CDATA[<p>Thanks to all who posted their results so far!</p>
<p>Interesting to see that perl method call overhead seems to be varying a lot on different platforms. It seems like older CPUs or memory have a negative effect (guess it&#8217;s mostly CPU extensions which are not available). Seems like the self-compiled gentoo (which was also probably running on very nostalgic hardware as it only had 14000/s) had the worst values I ever saw.</p>
<p>Most interesting were the results of Ron Savage, which even indicated that MooseX::Log::Log4perl is even faster then using Log4perl direct, never thought I implemented it that good ;-) </p>
<p>Any comments if that speed hit is worth having cleaner code and especially how much is ok, would be appriciated&#8230;<br />
Personally I would take 5% speed hit if coding a non-realtime app, but not more, as I see it as a waste of resources then, and risk getting into trouble sooner, if my app grows&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Kraai</title>
		<link>http://www.brabbel.net/2009/05/20/add-benchmarking-tests-to-moosexloglog4perl-to-verify-overhead/comment-page-1/#comment-1531</link>
		<dc:creator>Matt Kraai</dc:creator>
		<pubDate>Fri, 29 May 2009 22:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.brabbel.net/wp/?p=239#comment-1531</guid>
		<description>Here are the results for my Windows XP system running Strawberry Perl 5.10.0.5:

 C:\strawberry\cpan\build\MooseX-Log-Log4perl-0.40-HkWkV3&gt;prove -v -l t/99bench.t

t/99bench.t ..
1..6
ok 1 - Bench instance for MooseX::Log::Log4perl isa BenchMooseXLogLog4perl
ok 2 - Bench instance for Log::Log4perl isa BenchLogLog4perl
                     Rate MooseX-L4p log MooseX-L4p logger Log4perl method Log4p
erl direct

MooseX-L4p log    20977/s             --               -2%             -3%
       -5%#   Failed test &#039;Call rate of -&gt;log must be above 95% (21311 / 22127 =
 94.80 %) to Log4perl direct&#039;

#   at t/99bench.t line 101.
MooseX-L4p logger 21311/s             2%                --             -1%
       -4%
Log4perl method   21571/s             3%                1%              --
       -3%
Log4perl direct   22127/s             5%                4%              3%
        --# Looks like you failed 1 test of 6.

ok 3 - Call rate of -&gt;logger must be above 96% (21311 / 22127 = 96.31 %) to Log4
perl direct
not ok 4 - Call rate of -&gt;log must be above 95% (21311 / 22127 = 94.80 %) to Log
4perl direct
ok 5 - Call rate of -&gt;logger must be above 98% (21311 / 21571 = 98.79 %) to Log4
perl via method
ok 6 - Call rate of -&gt;log must be above 97% (21311 / 21571 = 97.25 %) to Log4per
l via method
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests

Test Summary Report
-------------------
t/99bench.t (Wstat: 256 Tests: 6 Failed: 1)
  Failed test:  4
  Non-zero exit status: 1
Files=1, Tests=6, 51 wallclock secs ( 0.03 usr +  0.01 sys =  0.05 CPU)
Result: FAIL</description>
		<content:encoded><![CDATA[<p>Here are the results for my Windows XP system running Strawberry Perl 5.10.0.5:</p>
<p> C:\strawberry\cpan\build\MooseX-Log-Log4perl-0.40-HkWkV3&gt;prove -v -l t/99bench.t</p>
<p>t/99bench.t ..<br />
1..6<br />
ok 1 &#8211; Bench instance for MooseX::Log::Log4perl isa BenchMooseXLogLog4perl<br />
ok 2 &#8211; Bench instance for Log::Log4perl isa BenchLogLog4perl<br />
                     Rate MooseX-L4p log MooseX-L4p logger Log4perl method Log4p<br />
erl direct</p>
<p>MooseX-L4p log    20977/s             &#8212;               -2%             -3%<br />
       -5%#   Failed test &#8216;Call rate of -&gt;log must be above 95% (21311 / 22127 =<br />
 94.80 %) to Log4perl direct&#8217;</p>
<p>#   at t/99bench.t line 101.<br />
MooseX-L4p logger 21311/s             2%                &#8212;             -1%<br />
       -4%<br />
Log4perl method   21571/s             3%                1%              &#8211;<br />
       -3%<br />
Log4perl direct   22127/s             5%                4%              3%<br />
        &#8211;# Looks like you failed 1 test of 6.</p>
<p>ok 3 &#8211; Call rate of -&gt;logger must be above 96% (21311 / 22127 = 96.31 %) to Log4<br />
perl direct<br />
not ok 4 &#8211; Call rate of -&gt;log must be above 95% (21311 / 22127 = 94.80 %) to Log<br />
4perl direct<br />
ok 5 &#8211; Call rate of -&gt;logger must be above 98% (21311 / 21571 = 98.79 %) to Log4<br />
perl via method<br />
ok 6 &#8211; Call rate of -&gt;log must be above 97% (21311 / 21571 = 97.25 %) to Log4per<br />
l via method<br />
Dubious, test returned 1 (wstat 256, 0&#215;100)<br />
Failed 1/6 subtests</p>
<p>Test Summary Report<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
t/99bench.t (Wstat: 256 Tests: 6 Failed: 1)<br />
  Failed test:  4<br />
  Non-zero exit status: 1<br />
Files=1, Tests=6, 51 wallclock secs ( 0.03 usr +  0.01 sys =  0.05 CPU)<br />
Result: FAIL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandr Ciornii</title>
		<link>http://www.brabbel.net/2009/05/20/add-benchmarking-tests-to-moosexloglog4perl-to-verify-overhead/comment-page-1/#comment-1524</link>
		<dc:creator>Alexandr Ciornii</dc:creator>
		<pubDate>Sat, 23 May 2009 20:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.brabbel.net/wp/?p=239#comment-1524</guid>
		<description>WinXP, Strawberry Perl 5.10.0. Test passed.

                    Rate MooseX-L4p log Log4perl method MooseX-L4p logger Log4perl direct
MooseX-L4p log    5697/s             --             -1%               -1%       -3%
Log4perl method   5734/s             1%              --               -0%       -2%
MooseX-L4p logger 5753/s             1%              0%                --       -2%
Log4perl direct   5872/s             3%              2%                2%        --</description>
		<content:encoded><![CDATA[<p>WinXP, Strawberry Perl 5.10.0. Test passed.</p>
<p>                    Rate MooseX-L4p log Log4perl method MooseX-L4p logger Log4perl direct<br />
MooseX-L4p log    5697/s             &#8212;             -1%               -1%       -3%<br />
Log4perl method   5734/s             1%              &#8212;               -0%       -2%<br />
MooseX-L4p logger 5753/s             1%              0%                &#8212;       -2%<br />
Log4perl direct   5872/s             3%              2%                2%        &#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yanick</title>
		<link>http://www.brabbel.net/2009/05/20/add-benchmarking-tests-to-moosexloglog4perl-to-verify-overhead/comment-page-1/#comment-1523</link>
		<dc:creator>Yanick</dc:creator>
		<pubDate>Sat, 23 May 2009 17:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.brabbel.net/wp/?p=239#comment-1523</guid>
		<description>Here goes:

$ TEST_MAINT=1 prove -l -v t/99bench.t
t/99bench....1..6
ok 1 - Bench instance for MooseX::Log::Log4perl isa BenchMooseXLogLog4perl
ok 2 - Bench instance for Log::Log4perl isa BenchLogLog4perl
                     Rate MooseX-L4p log MooseX-L4p logger Log4perl method Log4perl direct
MooseX-L4p log    13796/s             --               -2%             -6%             -9%
MooseX-L4p logger 14091/s             2%                --             -4%             -7%
Log4perl method   14700/s             7%                4%              --             -3%
Log4perl direct   15109/s            10%                7%              3%              --
not ok 3 - Call rate of -&gt;logger must be above 96% (14091 / 15109 = 93.26 %) to Log4perl direct

#   Failed test &#039;Call rate of -&gt;logger must be above 96% (14091 / 15109 = 93.26 %) to Log4perl direct&#039;
#   at t/99bench.t line 98.
not ok 4 - Call rate of -&gt;log must be above 95% (14091 / 15109 = 91.31 %) to Log4perl direct

#   Failed test &#039;Call rate of -&gt;log must be above 95% (14091 / 15109 = 91.31 %) to Log4perl direct&#039;
#   at t/99bench.t line 101.
not ok 5 - Call rate of -&gt;logger must be above 98% (14091 / 14700 = 95.86 %) to Log4perl via method

#   Failed test &#039;Call rate of -&gt;logger must be above 98% (14091 / 14700 = 95.86 %) to Log4perl via method&#039;
#   at t/99bench.t line 105.
not ok 6 - Call rate of -&gt;log must be above 97% (14091 / 14700 = 93.85 %) to Log4perl via method

#   Failed test &#039;Call rate of -&gt;log must be above 97% (14091 / 14700 = 93.85 %) to Log4perl via method&#039;
#   at t/99bench.t line 108.
# Looks like you failed 4 tests of 6.
dubious
        Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 3-6
        Failed 4/6 tests, 33.33% okay
Failed Test Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/99bench.t    4  1024     6    4  3-6
Failed 1/1 test scripts. 4/6 subtests failed.
Files=1, Tests=6, 59 wallclock secs (48.89 cusr +  0.12 csys = 49.01 CPU)
Failed 1/1 test programs. 4/6 subtests failed.

$ perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.6.22-gentoo-r2enkidu, archname=i686-linux-thread-multi
    uname=&#039;linux enkidu 2.6.22-gentoo-r2enkidu #2 preempt mon aug 20 23:42:52 edt 2007 i686 amd sempron(tm) processor 3100+ authenticamd gnulinux &#039;
    config_args=&#039;&#039;
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc=&#039;cc&#039;, ccflags =&#039;-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&#039;,
    optimize=&#039;-O2&#039;,
    cppflags=&#039;-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include&#039;
    ccversion=&#039;&#039;, gccversion=&#039;4.1.2 (Gentoo 4.1.2 p1.0.1)&#039;, gccosandvers=&#039;&#039;
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype=&#039;long&#039;, ivsize=4, nvtype=&#039;double&#039;, nvsize=8, Off_t=&#039;off_t&#039;, lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld=&#039;cc&#039;, ldflags =&#039; -L/usr/local/lib&#039;
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=&#039;2.6.1&#039;
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=&#039;-Wl,-E&#039;
    cccdlflags=&#039;-fPIC&#039;, lddlflags=&#039;-shared -O2 -L/usr/local/lib&#039;


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
  Built under linux
  Compiled at Nov 26 2008 15:22:43
  %ENV:
    PERL5_CPANPLUS_IS_RUNNING=&quot;5571&quot;
    PERL5_CPAN_IS_RUNNING=&quot;5571&quot;
  @INC:
    /usr/local/lib/perl5/5.10.0/i686-linux
    /usr/local/lib/perl5/5.10.0
    /usr/local/lib/perl5/site_perl/5.10.0/i686-linux
    /usr/local/lib/perl5/site_perl/5.10.0
    /usr/local/lib/perl5/site_perl/5.8.6
    /usr/local/lib/perl5/site_perl</description>
		<content:encoded><![CDATA[<p>Here goes:</p>
<p>$ TEST_MAINT=1 prove -l -v t/99bench.t<br />
t/99bench&#8230;.1..6<br />
ok 1 &#8211; Bench instance for MooseX::Log::Log4perl isa BenchMooseXLogLog4perl<br />
ok 2 &#8211; Bench instance for Log::Log4perl isa BenchLogLog4perl<br />
                     Rate MooseX-L4p log MooseX-L4p logger Log4perl method Log4perl direct<br />
MooseX-L4p log    13796/s             &#8212;               -2%             -6%             -9%<br />
MooseX-L4p logger 14091/s             2%                &#8212;             -4%             -7%<br />
Log4perl method   14700/s             7%                4%              &#8212;             -3%<br />
Log4perl direct   15109/s            10%                7%              3%              &#8211;<br />
not ok 3 &#8211; Call rate of -&gt;logger must be above 96% (14091 / 15109 = 93.26 %) to Log4perl direct</p>
<p>#   Failed test &#8216;Call rate of -&gt;logger must be above 96% (14091 / 15109 = 93.26 %) to Log4perl direct&#8217;<br />
#   at t/99bench.t line 98.<br />
not ok 4 &#8211; Call rate of -&gt;log must be above 95% (14091 / 15109 = 91.31 %) to Log4perl direct</p>
<p>#   Failed test &#8216;Call rate of -&gt;log must be above 95% (14091 / 15109 = 91.31 %) to Log4perl direct&#8217;<br />
#   at t/99bench.t line 101.<br />
not ok 5 &#8211; Call rate of -&gt;logger must be above 98% (14091 / 14700 = 95.86 %) to Log4perl via method</p>
<p>#   Failed test &#8216;Call rate of -&gt;logger must be above 98% (14091 / 14700 = 95.86 %) to Log4perl via method&#8217;<br />
#   at t/99bench.t line 105.<br />
not ok 6 &#8211; Call rate of -&gt;log must be above 97% (14091 / 14700 = 93.85 %) to Log4perl via method</p>
<p>#   Failed test &#8216;Call rate of -&gt;log must be above 97% (14091 / 14700 = 93.85 %) to Log4perl via method&#8217;<br />
#   at t/99bench.t line 108.<br />
# Looks like you failed 4 tests of 6.<br />
dubious<br />
        Test returned status 4 (wstat 1024, 0&#215;400)<br />
DIED. FAILED tests 3-6<br />
        Failed 4/6 tests, 33.33% okay<br />
Failed Test Stat Wstat Total Fail  List of Failed<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
t/99bench.t    4  1024     6    4  3-6<br />
Failed 1/1 test scripts. 4/6 subtests failed.<br />
Files=1, Tests=6, 59 wallclock secs (48.89 cusr +  0.12 csys = 49.01 CPU)<br />
Failed 1/1 test programs. 4/6 subtests failed.</p>
<p>$ perl -V<br />
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:<br />
  Platform:<br />
    osname=linux, osvers=2.6.22-gentoo-r2enkidu, archname=i686-linux-thread-multi<br />
    uname=&#8217;linux enkidu 2.6.22-gentoo-r2enkidu #2 preempt mon aug 20 23:42:52 edt 2007 i686 amd sempron(tm) processor 3100+ authenticamd gnulinux &#8216;<br />
    config_args=&#8221;<br />
    hint=recommended, useposix=true, d_sigaction=define<br />
    useithreads=define, usemultiplicity=define<br />
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef<br />
    use64bitint=undef, use64bitall=undef, uselongdouble=undef<br />
    usemymalloc=n, bincompat5005=undef<br />
  Compiler:<br />
    cc=&#8217;cc&#8217;, ccflags =&#8217;-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&#8242;,<br />
    optimize=&#8217;-O2&#8242;,<br />
    cppflags=&#8217;-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include&#8217;<br />
    ccversion=&#8221;, gccversion=&#8217;4.1.2 (Gentoo 4.1.2 p1.0.1)&#8217;, gccosandvers=&#8221;<br />
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234<br />
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12<br />
    ivtype=&#8217;long&#8217;, ivsize=4, nvtype=&#8217;double&#8217;, nvsize=8, Off_t=&#8217;off_t&#8217;, lseeksize=8<br />
    alignbytes=4, prototype=define<br />
  Linker and Libraries:<br />
    ld=&#8217;cc&#8217;, ldflags =&#8217; -L/usr/local/lib&#8217;<br />
    libpth=/usr/local/lib /lib /usr/lib<br />
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc<br />
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc<br />
    libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl.a<br />
    gnulibc_version=&#8217;2.6.1&#8242;<br />
  Dynamic Linking:<br />
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=&#8217;-Wl,-E&#8217;<br />
    cccdlflags=&#8217;-fPIC&#8217;, lddlflags=&#8217;-shared -O2 -L/usr/local/lib&#8217;</p>
<p>Characteristics of this binary (from libperl):<br />
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV<br />
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS<br />
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API<br />
  Built under linux<br />
  Compiled at Nov 26 2008 15:22:43<br />
  %ENV:<br />
    PERL5_CPANPLUS_IS_RUNNING=&#8221;5571&#8243;<br />
    PERL5_CPAN_IS_RUNNING=&#8221;5571&#8243;<br />
  @INC:<br />
    /usr/local/lib/perl5/5.10.0/i686-linux<br />
    /usr/local/lib/perl5/5.10.0<br />
    /usr/local/lib/perl5/site_perl/5.10.0/i686-linux<br />
    /usr/local/lib/perl5/site_perl/5.10.0<br />
    /usr/local/lib/perl5/site_perl/5.8.6<br />
    /usr/local/lib/perl5/site_perl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron Savage</title>
		<link>http://www.brabbel.net/2009/05/20/add-benchmarking-tests-to-moosexloglog4perl-to-verify-overhead/comment-page-1/#comment-1522</link>
		<dc:creator>Ron Savage</dc:creator>
		<pubDate>Sat, 23 May 2009 06:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.brabbel.net/wp/?p=239#comment-1522</guid>
		<description>Hi

My results are:

ron@zoe:~/perl.modules/MooseX-Log-Log4perl-0.40$ TEST_MAINT=1 prove -v -l t/99bench.t
t/99bench......
1..6
ok 1 - Bench instance for MooseX::Log::Log4perl isa BenchMooseXLogLog4perl
ok 2 - Bench instance for Log::Log4perl isa BenchLogLog4perl
                     Rate Log4perl method Log4perl direct MooseX-L4p log MooseX-L4p logger
Log4perl method   11480/s              --            -10%           -11%              -14%
Log4perl direct   12755/s             11%              --            -1%               -5%
MooseX-L4p log    12937/s             13%              1%             --               -4%
MooseX-L4p logger 13411/s             17%              5%             4%                --
ok 3 - Call rate of -&gt;logger must be above 96% (13411 / 12755 = 105.14 %) to Log4perl direct
ok 4 - Call rate of -&gt;log must be above 95% (13411 / 12755 = 101.43 %) to Log4perl direct
ok 5 - Call rate of -&gt;logger must be above 98% (13411 / 11480 = 116.82 %) to Log4perl via method
ok 6 - Call rate of -&gt;log must be above 97% (13411 / 11480 = 112.69 %) to Log4perl via method
ok
All tests successful.
Files=1, Tests=6, 52 wallclock secs ( 0.02 usr  0.01 sys + 52.14 cusr  0.14 csys = 52.31 CPU)
Result: PASS</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>My results are:</p>
<p>ron@zoe:~/perl.modules/MooseX-Log-Log4perl-0.40$ TEST_MAINT=1 prove -v -l t/99bench.t<br />
t/99bench&#8230;&#8230;<br />
1..6<br />
ok 1 &#8211; Bench instance for MooseX::Log::Log4perl isa BenchMooseXLogLog4perl<br />
ok 2 &#8211; Bench instance for Log::Log4perl isa BenchLogLog4perl<br />
                     Rate Log4perl method Log4perl direct MooseX-L4p log MooseX-L4p logger<br />
Log4perl method   11480/s              &#8212;            -10%           -11%              -14%<br />
Log4perl direct   12755/s             11%              &#8212;            -1%               -5%<br />
MooseX-L4p log    12937/s             13%              1%             &#8212;               -4%<br />
MooseX-L4p logger 13411/s             17%              5%             4%                &#8211;<br />
ok 3 &#8211; Call rate of -&gt;logger must be above 96% (13411 / 12755 = 105.14 %) to Log4perl direct<br />
ok 4 &#8211; Call rate of -&gt;log must be above 95% (13411 / 12755 = 101.43 %) to Log4perl direct<br />
ok 5 &#8211; Call rate of -&gt;logger must be above 98% (13411 / 11480 = 116.82 %) to Log4perl via method<br />
ok 6 &#8211; Call rate of -&gt;log must be above 97% (13411 / 11480 = 112.69 %) to Log4perl via method<br />
ok<br />
All tests successful.<br />
Files=1, Tests=6, 52 wallclock secs ( 0.02 usr  0.01 sys + 52.14 cusr  0.14 csys = 52.31 CPU)<br />
Result: PASS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brunov</title>
		<link>http://www.brabbel.net/2009/05/20/add-benchmarking-tests-to-moosexloglog4perl-to-verify-overhead/comment-page-1/#comment-1521</link>
		<dc:creator>brunov</dc:creator>
		<pubDate>Fri, 22 May 2009 22:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.brabbel.net/wp/?p=239#comment-1521</guid>
		<description>Here are my results.
perl, v5.10.0 built for i486-linux-gnu-thread-multi

                     Rate MooseX-L4p log MooseX-L4p logger Log4perl method Log4perl direct
MooseX-L4p log    22046/s             --               -1%             -4%             -6%
MooseX-L4p logger 22293/s             1%                --             -3%             -5%
Log4perl method   22996/s             4%                3%              --             -2%
Log4perl direct   23442/s             6%                5%              2%              --

Tests 4 to 6 fail.</description>
		<content:encoded><![CDATA[<p>Here are my results.<br />
perl, v5.10.0 built for i486-linux-gnu-thread-multi</p>
<p>                     Rate MooseX-L4p log MooseX-L4p logger Log4perl method Log4perl direct<br />
MooseX-L4p log    22046/s             &#8212;               -1%             -4%             -6%<br />
MooseX-L4p logger 22293/s             1%                &#8212;             -3%             -5%<br />
Log4perl method   22996/s             4%                3%              &#8212;             -2%<br />
Log4perl direct   23442/s             6%                5%              2%              &#8211;</p>
<p>Tests 4 to 6 fail.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

