Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Here are my results (amd64-freebsd 6.2, perl5.8.8 from ports, perl5.10.0 self-compiled):
$ perl5.8.8 ~/trash/test.pl Benchmark: running set_inherited_class, set_inherited_object for at le +ast 3 CPU seconds... set_inherited_class: 5 wallclock secs ( 3.14 usr + 0.00 sys = 3.14 +CPU) @ 403854.65/s (n=1268356) set_inherited_object: 4 wallclock secs ( 3.16 usr + 0.01 sys = 3.17 + CPU) @ 441967.29/s (n=1401865) $ /usr/local/src/perl-5.10.0-sysmalloc/perl -I/usr/local/src/perl-5.10 +.0-sysmalloc/lib ~/trash/test.pl Benchmark: running set_inherited_class, set_inherited_object for at le +ast 3 CPU seconds... set_inherited_class: 4 wallclock secs ( 3.15 usr + 0.01 sys = 3.16 +CPU) @ 309119.05/s (n=975657) set_inherited_object: 5 wallclock secs ( 3.08 usr + 0.00 sys = 3.08 + CPU) @ 402004.47/s (n=1237420) $/usr/local/src/perl-5.10.0-perlmalloc/perl -I/usr/local/src/perl-5.10 +.0-perlmalloc/lib ~/trash/test.pl Benchmark: running set_inherited_class, set_inherited_object for at le +ast 3 CPU seconds... set_inherited_class: 6 wallclock secs ( 3.12 usr + 0.00 sys = 3.12 +CPU) @ 378921.38/s (n=1181169) set_inherited_object: 6 wallclock secs ( 3.15 usr + 0.00 sys = 3.15 + CPU) @ 469993.13/s (n=1479744)
perl with sysmalloc seems to be the worst, while the both perls with perlmalloc have similar results.

In reply to Re: 5:10: Why is this slower than 5.8.8? by eserte
in thread 5:10: Why is this slower than 5.8.8? by jk2addict

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others perusing the Monastery: (16)
    As of 2015-07-28 15:06 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (257 votes), past polls