changeset 82:a28a02c330d1

Remove variance from the text report.
author shade
date Wed, 05 Jun 2013 16:21:19 +0400
parents e82505a6179a
children 53422f2791fe
files jmh-core/src/main/java/org/openjdk/jmh/output/format/TextReportFormat.java
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/output/format/TextReportFormat.java	Wed Jun 05 16:04:00 2013 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/output/format/TextReportFormat.java	Wed Jun 05 16:21:19 2013 +0400
@@ -113,9 +113,9 @@
         }
         nameLen += 2;
 
-        out.printf("%-" + nameLen + "s %6s %3s %6s %4s %12s %12s %12s %8s%n",
+        out.printf("%-" + nameLen + "s %6s %3s %6s %4s %12s %12s %8s%n",
                 "Benchmark", "Mode", "Thr", "Cnt", "Sec",
-                "Mean", "Mean error", "Var", "Units");
+                "Mean", "Mean error", "Units");
         for (BenchmarkIdentifier key : benchmarkResults.keys()) {
 
             double[] interval = new double[]{Double.NaN, Double.NaN};
@@ -140,25 +140,25 @@
                             interval = stats.getConfidenceInterval(0.01);
                         }
 
-                        out.printf("%-" + nameLen + "s %6s %3d %6d %4d %12.3f %12.3f %12.3f %8s%n",
+                        out.printf("%-" + nameLen + "s %6s %3d %6d %4d %12.3f %12.3f %8s%n",
                                 benchPrefixes.get(key.benchmark.getUsername() + (onlyResult ? "" : ":" + label)),
                                 key.benchmark.getMode().shortLabel(),
                                 key.threads, stats.getN(),
                                 settings.getTime().convertTo(TimeUnit.SECONDS),
                                 stats.getMean(), (interval[1] - interval[0]) / 2,
-                                stats.getVariance(), runResult.getScoreUnit());
+                                runResult.getScoreUnit());
                     }
                     resultOK = true;
                 }
             }
 
             if (!resultOK) {
-                out.printf("%-" + nameLen + "s %6s, %3d %6d %4d %12.3f %12.3f %12.3f %8s%n",
+                out.printf("%-" + nameLen + "s %6s, %3d %6d %4d %12.3f %12.3f %8s%n",
                         benchPrefixes.get(key.benchmark.getUsername()),
                         key.benchmark.getMode().shortLabel(),
                         key.threads, 0,
                         settings.getTime().convertTo(TimeUnit.SECONDS),
-                        Double.NaN, Double.NaN, Double.NaN,
+                        Double.NaN, Double.NaN,
                         "N/A");
             }