Skip to content

Commit c98dd27

Browse files
Benchmark: count never < 1, do not print fraction to avoid confusion.
1 parent cc77789 commit c98dd27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/lib/benchmark.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Benchmark {
3333
print('$name(iterations): ' +
3434
Emitter._format(iterations.toDouble(), decimalPoints: 0));
3535
print('$name(count): ' +
36-
Emitter._format(iterations / coefficient));
36+
Emitter._format(iterations / coefficient, decimalPoints: 0));
3737
// Measure the total time of the test - if it's too high, you should
3838
// decrease the number of iterations. Expected time is between 2 and 3 sec.
3939
watch.start();

0 commit comments

Comments
 (0)