Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
We don't bite newbies here... much
 
PerlMonks  

Benchmark, -s versus schwartzian

by Darby (Sexton)
on Aug 22, 2004 at 17:33 UTC ( #384954=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Benchmark qw(timethese);
    
    ...
          glob "/bin/*";
      },
    });
    
  2. or download this
      Ordinary:  2 wallclock secs ( 0.61 usr +  1.64 sys =  2.25 CPU) @ 23
    +7.78/s (n=535)
    Schwartzian:  2 wallclock secs ( 1.52 usr +  0.76 sys =  2.28 CPU) @ 2
    +02.19/s (n=461)
    
  3. or download this
    Benchmark: timing 5000 iterations of Ordinary, Schwartzian...
      Ordinary: 21 wallclock secs ( 6.46 usr + 14.78 sys = 21.24 CPU) @ 23
    +5.40/s (n=5000)
    Schwartzian: 26 wallclock secs (17.15 usr +  8.45 sys = 25.60 CPU) @ 1
    +95.31/s (n=5000)
    
  4. or download this
    Linux dell 2.6.5-7.104-smp #1 SMP Wed Jul 28 16:42:13 UTC 2004 i686 i6
    +86 i386 GNU/Linux
    
  5. or download this
    
    Summary of my perl5 (revision 5.0 version 8 subversion 3) configuratio
    +n:
    ...
        /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi
        /usr/lib/perl5/vendor_perl/5.8.3
        /usr/lib/perl5/vendor_perl
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://384954]
Approved by benn
Front-paged by ccn
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2014-04-18 17:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls