Help for this page

Select Code to Download


  1. or download this
    $ perl oo_benchmark.pl 
                (warning: too few iterations for a reliable count)
                (warning: too few iterations for a reliable count)
    ...
    normal    142857143/s        --      -14%      -57%
    optimized 166666667/s       17%        --      -50%
    direct    333333333/s      133%      100%        --
    
  2. or download this
    $ perl oo_benchmark.pl 
                (warning: too few iterations for a reliable count)
                (warning: too few iterations for a reliable count)
    ...
    direct    125000000/s        --      -25%      -25%
    normal    166666667/s       33%        --        0%
    optimized 166666667/s       33%        0%        --