Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: use File::Slurp for (!"speed");

by revdiablo (Prior)
on Nov 08, 2004 at 18:20 UTC ( #406156=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use File::Slurp;
    use Benchmark qw(cmpthese);
    ...
                 });
    
    sub is { local (@ARGV, $/) = $_[0]; <> };
    
  2. or download this
    $ perl -e 'print "x"x500' > foo
    $ perl benchmark
    ...
         Rate   is   fs
    is 29.5/s   -- -17%
    fs 35.6/s  21%   --
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://406156]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2019-10-19 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?