Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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?
[1nickt]: Missing title suppresses the submit button, I think.
[1nickt]: Petroza to answer your question, no, no special permission is needed to post a question.
[LanX]: did you spam before? :)
LanX has to go/
[ambrus]: I hope we didn't mess up the spam filter rules again.
[ambrus]: Our spam filter rules disallow links to certain domains, and some suspicious pharses that have appeared in previous spam advertising cheap online whatevers.
[LanX]: some servers were lagging today, so I suppose the root cause
[LanX]: ambrus no recent patches
[Petroza]: no i haven't posted anything before. It was a more or less long question with a specific issue. I did post a title and the links i added where only part of the element i was searching within the code (so no purpose other than the question itself).
[1nickt]: Petroza can you go back in your browser to the preview screen, redact the links, and try to submit again?

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2017-10-17 15:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (233 votes). Check out past polls.

    Notices?