changeset 224:6996addb88b1

Adjust TextReport output to accept large number of samples.
author shade
date Mon, 04 Nov 2013 11:49:06 +0100
parents 0d9c6a911ed1
children 56852f8f4a8d
files jmh-core/src/main/java/org/openjdk/jmh/output/format/TextReportFormat.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/output/format/TextReportFormat.java	Mon Nov 04 11:46:36 2013 +0100
+++ b/jmh-core/src/main/java/org/openjdk/jmh/output/format/TextReportFormat.java	Mon Nov 04 11:49:06 2013 +0100
@@ -175,8 +175,8 @@
         }
         nameLen += 2;
 
-        out.printf("%-" + nameLen + "s %6s %3s %6s %4s %12s %12s %8s%n",
-                "Benchmark", "Mode", "Thr", "Cnt", "Sec",
+        out.printf("%-" + nameLen + "s %6s %3s %9s %4s %12s %12s %8s%n",
+                "Benchmark", "Mode", "Thr", "Count", "Sec",
                 "Mean", "Mean error", "Units");
         for (BenchmarkRecord key : runResults.keySet()) {
             double[] interval = new double[]{Double.NaN, Double.NaN};
@@ -192,7 +192,7 @@
                     interval = stats.getConfidenceInterval(0.01);
                 }
 
-                out.printf("%-" + nameLen + "s %6s %3d %6d %4d %12.3f %12.3f %8s%n",
+                out.printf("%-" + nameLen + "s %6s %3d %9d %4d %12.3f %12.3f %8s%n",
                         benchPrefixes.get(key.getUsername()),
                         key.getMode().shortLabel(),
                         threads, stats.getN(),
@@ -207,7 +207,7 @@
                     interval = stats.getConfidenceInterval(0.01);
                 }
 
-                out.printf("%-" + nameLen + "s %6s %3d %6d %4d %12.3f %12.3f %8s%n",
+                out.printf("%-" + nameLen + "s %6s %3d %9d %4d %12.3f %12.3f %8s%n",
                         benchPrefixes.get(key.getUsername() + ":" + label),
                         key.getMode().shortLabel(),
                         threads, stats.getN(),