- or download this
use strict;
use warnings;
use Benchmark 'cmpthese';
...
sub some_more_code { }
sub error_sub { }
- or download this
Rate eval noeval
eval 1298354/s -- -37%
noeval 2066450/s 59% --
...
Rate eval noeval
eval 1298354/s -- -41%
noeval 2205537/s 70% --
- or download this
use strict;
use warnings;
...
sub some_more_code { $x++ }
sub error_sub { }
- or download this
Rate eval noeval
eval 989400/s -- -23%
noeval 1286220/s 30% --
...
Rate eval noeval
eval 1071850/s -- -26%
noeval 1456355/s 36% --