From 12c702ed5ebda58e99c600c9278b68c33fadfee9 Mon Sep 17 00:00:00 2001 From: zonghaishang Date: Tue, 21 Apr 2020 16:58:21 +0800 Subject: [PATCH] pretty statistics output. --- .../com/opensource/rpc/benchmark/AbstractBenchmarkClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/opensource/rpc/benchmark/AbstractBenchmarkClient.java b/src/main/java/com/opensource/rpc/benchmark/AbstractBenchmarkClient.java index a2f64a1..45ca03d 100644 --- a/src/main/java/com/opensource/rpc/benchmark/AbstractBenchmarkClient.java +++ b/src/main/java/com/opensource/rpc/benchmark/AbstractBenchmarkClient.java @@ -208,7 +208,7 @@ public void run(String[] args) throws Exception { System.out.println("----------Benchmark Statistics--------------"); System.out.println( " Running: " + runtimeSeconds + "s" - + (option.getWarmUp() > 0 ? "and warm up for " + option.getWarmUp() + "s" : "") + + (option.getWarmUp() > 0 ? " and warm up for " + option.getWarmUp() + "s" : "") + " test @ " + option.getTargetInterface()); System.out.println(" " + threads + " threads and " + connections + " connections");