Skip to content

Commit 0512782

Browse files
authored
Merge 5b56dec into 283d315
2 parents 283d315 + 5b56dec commit 0512782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmarks/TypedDataPoly/dart/TypedDataPoly.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ class Base extends BenchmarkBase {
4242

4343
@override
4444
void report() {
45-
final double millisecondsPerExercise = measure();
45+
final double microsecondsPerExercise = measure();
4646
// Report time in nanoseconds per element. [exercise] runs [run] 10 times,
4747
// and each [run] does 10 summations.
48-
final double score = millisecondsPerExercise * 1000.0 / n / 10.0 / 10.0;
48+
final double score = microsecondsPerExercise * 1000.0 / n / 10.0 / 10.0;
4949
print('$name(RunTime): $score ns.');
5050
}
5151

0 commit comments

Comments
 (0)