浏览代码

update benchmark

xuty 4 年之前
父节点
当前提交
12f3c329cd
共有 1 个文件被更改,包括 2 次插入2 次删除
  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() {