Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Why study SCALAR?

by atcroft (Abbot)
on Dec 27, 2001 at 01:14 UTC ( [id://134485]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Benchmark: timing 100 iterations of w/o study, with study, with study 
    +in loop...
     w/o study: 346 wallclock secs (306.95 usr +  8.69 sys = 315.64 CPU)
    with study: 317 wallclock secs (301.91 usr +  8.53 sys = 310.44 CPU)
    with study in loop: 369 wallclock secs (347.37 usr +  8.39 sys = 355.7
    +6 CPU)
    
  2. or download this
    #!/usr/local/bin/perl -w --
    use Benchmark qw(timethese clearallcache);
    ...
            (stat($filename))[7], 
            "\t");
    }
    
  3. or download this
    Benchmark: timing 100 iterations of w/o study or /o, w/o study with /o
    +, with study and /o, with study w/o /o...
    w/o study or /o: 352 wallclock secs (304.41 usr +  8.55 sys = 312.96 C
    +PU)
    w/o study with /o: 388 wallclock secs (253.90 usr +  8.33 sys = 262.23
    + CPU)
    with study and /o: 881 wallclock secs (507.50 usr +  8.17 sys = 515.67
    + CPU)
    with study w/o /o: 823 wallclock secs (597.40 usr +  8.31 sys = 605.71
    + CPU)
    
  4. or download this
    #!/usr/local/bin/perl -w --
    use Benchmark qw(timethese clearallcache);
    ...
            (stat($filename))[7], 
            "\t");
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-25 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found