Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add postfix:<++> test to the set of benchmarks.
  • Loading branch information
jnthn committed Jun 2, 2009
1 parent 63cc77c commit fc01cda
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/benchmark.pl
Expand Up @@ -60,6 +60,12 @@
$x + $y;
$x - $y;
}
},
# This one tests posfix:<++> performance.
"07 - postfix:<++> 10,000 times" => q{
my $i = 0;
while $i < 10000 { $i++ }
}
);
Expand Down

0 comments on commit fc01cda

Please sign in to comment.