changeset 379:f0b81d581219

Print "Benchmark" instead of "Running" in human-readable log.
author shade
date Tue, 28 Jan 2014 17:18:35 +0400
parents c0050f0615ed
children f8722f81ff14
files jmh-core/src/main/java/org/openjdk/jmh/output/format/TextReportFormat.java
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/output/format/TextReportFormat.java	Tue Jan 28 17:17:24 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/output/format/TextReportFormat.java	Tue Jan 28 17:18:35 2014 +0400
@@ -33,16 +33,13 @@
 import org.openjdk.jmh.runner.options.VerboseMode;
 import org.openjdk.jmh.runner.parameters.BenchmarkParams;
 import org.openjdk.jmh.runner.parameters.IterationParams;
-import org.openjdk.jmh.runner.parameters.TimeValue;
 import org.openjdk.jmh.util.ClassUtils;
 import org.openjdk.jmh.util.internal.Statistics;
 
 import java.io.PrintStream;
 import java.util.ArrayList;
 import java.util.Collection;
-import java.util.Date;
 import java.util.Map;
-import java.util.concurrent.TimeUnit;
 
 /**
  * TextReportFormat implementation of OutputFormat.
@@ -62,7 +59,7 @@
         out.println("# Measurement: " + mbParams.getMeasurement().getCount() + " iterations, " + mbParams.getMeasurement().getTime() + " each");
         out.println("# Threads: " + mbParams.getThreads() + " " + getThreadsString(mbParams.getThreads()) + (mbParams.shouldSynchIterations() ? ", will synchronize iterations" : ""));
         out.println("# Benchmark mode: " + name.getMode().longLabel());
-        out.println("# Running: " + name.getUsername());
+        out.println("# Benchmark: " + name.getUsername());
     }
 
     @Override