Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Another benchmark, this time for operator dispatch.
  • Loading branch information
jnthn committed May 15, 2009
1 parent 5bd02be commit cf586e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/benchmark.pl
Expand Up @@ -52,6 +52,15 @@
}
},
# This one is for operators dispatch.
"06 - 10,000 operator dispatches" => q{
my $x = 3;
my $y = 39;
for 1..5000 {
$x + $y;
$x - $y;
}
}
);
# Run the benchmarks and output results.
Expand Down

0 comments on commit cf586e3

Please sign in to comment.