diff --git a/core/src/main/java/cn/edu/tsinghua/iot/benchmark/measurement/Measurement.java b/core/src/main/java/cn/edu/tsinghua/iot/benchmark/measurement/Measurement.java index bb4fa2ff2..84c270595 100644 --- a/core/src/main/java/cn/edu/tsinghua/iot/benchmark/measurement/Measurement.java +++ b/core/src/main/java/cn/edu/tsinghua/iot/benchmark/measurement/Measurement.java @@ -160,7 +160,6 @@ public String getMeasurementsString(List operations) { PersistenceFactory persistenceFactory = new PersistenceFactory(); TestDataPersistence recorder = persistenceFactory.getPersistence(); StringBuilder stringBuilder = new StringBuilder("\n"); - stringBuilder.append(Thread.currentThread().getName()).append(" measurements:").append('\n'); stringBuilder .append("Create schema cost ") .append(String.format("%.2f", createSchemaFinishTime)) diff --git a/core/src/main/java/cn/edu/tsinghua/iot/benchmark/mode/BaseMode.java b/core/src/main/java/cn/edu/tsinghua/iot/benchmark/mode/BaseMode.java index 929ed6c1e..cf4273f58 100644 --- a/core/src/main/java/cn/edu/tsinghua/iot/benchmark/mode/BaseMode.java +++ b/core/src/main/java/cn/edu/tsinghua/iot/benchmark/mode/BaseMode.java @@ -64,7 +64,7 @@ public abstract class BaseMode { protected List schemaClients = new ArrayList<>(); protected Measurement baseModeMeasurement = new Measurement(); protected long startTime = 0; - private Timer middleMeasureTimer = new Timer(); + private Timer middleMeasureTimer = new Timer("ShowResultPeriodically"); protected abstract boolean preCheck();