Explorar el Código

update benchmark

xuty hace 4 años
padre
commit
12f3c329cd
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      script/benchmark.dart

+ 2 - 2
script/benchmark.dart

@@ -63,11 +63,11 @@ class BenchmarkWriteCMatrix extends Benchmark {
     data = File('script/cmatrix.txt').readAsStringSync();
   }
 
-  static const cycle = 1 << 0;
+  static const cycle = 10;
   late final String data;
 
   String explain() {
-    return 'write ${data.length / 1024} kb CMatrix output to Terminal for $cycle time(s)';
+    return 'write ${data.length / 1024} kb CMatrix -r output to Terminal for $cycle time(s)';
   }
 
   void benchmark() {