From 5b56dec6d1182f5bf481bb2f8d60a08955d2bfeb Mon Sep 17 00:00:00 2001 From: moluopro Date: Sun, 9 Mar 2025 01:12:46 +0800 Subject: [PATCH] Rename variable millisecondsPerExercise to microsecondsPerExercise --- benchmarks/TypedDataPoly/dart/TypedDataPoly.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/TypedDataPoly/dart/TypedDataPoly.dart b/benchmarks/TypedDataPoly/dart/TypedDataPoly.dart index 279b7ed2d56e..9f7f71e00852 100644 --- a/benchmarks/TypedDataPoly/dart/TypedDataPoly.dart +++ b/benchmarks/TypedDataPoly/dart/TypedDataPoly.dart @@ -42,10 +42,10 @@ class Base extends BenchmarkBase { @override void report() { - final double millisecondsPerExercise = measure(); + final double microsecondsPerExercise = measure(); // Report time in nanoseconds per element. [exercise] runs [run] 10 times, // and each [run] does 10 summations. - final double score = millisecondsPerExercise * 1000.0 / n / 10.0 / 10.0; + final double score = microsecondsPerExercise * 1000.0 / n / 10.0 / 10.0; print('$name(RunTime): $score ns.'); }