Permalink
Browse files

More realistic rounding. My timings are definitely not accurate to 1/…

…100.
  • Loading branch information...
1 parent c6bf273 commit e816e6a0c0723877b1c9a5bf772bf74396a9bff8 @colomon committed Dec 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/timing-table-generator.pl
@@ -9,14 +9,14 @@ (*@scripts)
my $start = now;
qqx/$rakudo $script { @numbers }/;
my $end = now;
- %rakudo-results{$script} = ($end - $start).round(1/100);
+ %rakudo-results{$script} = ($end - $start).round(1/10);
next if $script ~~ /cached/ && $script !~~ /"hand-cached"/;
$start = now;
qqx/$niecza $script { @numbers }/;
$end = now;
- %niecza-results{$script} = ($end - $start).round(1/100);
+ %niecza-results{$script} = ($end - $start).round(1/10);
}
say '<table border="1" align="center"> <tr><td>Script</td><td>Rakudo</td><td>Niecza</td></tr>';

0 comments on commit e816e6a

Please sign in to comment.