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");
    }