Skip to content

Commit 078ddac

Browse files
moluoproCommit Queue
authored andcommitted
Rename variable millisecondsPerExercise to microsecondsPerExercise
Closes #60286 GitOrigin-RevId: 0512782 Change-Id: Icd98294879478b754809b45a938591e07d64543a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/414480 Reviewed-by: Slava Egorov <[email protected]> Commit-Queue: Slava Egorov <[email protected]>
1 parent 4ab8296 commit 078ddac

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)