aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-feed-client-cli
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2021-06-10 19:53:06 +0200
committerJon Marius Venstad <venstad@gmail.com>2021-06-10 19:53:06 +0200
commit1f5f6e229462b1b971d64b786388d74ad71d1a53 (patch)
tree2e01ad2c0091b09e2248cbdf1ad313465110ee75 /vespa-feed-client-cli
parentcd9364ca6a3f550e635225802c184f64830e2c16 (diff)
Through per second, not milli
Diffstat (limited to 'vespa-feed-client-cli')
-rw-r--r--vespa-feed-client-cli/src/main/java/ai/vespa/feed/client/CliClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-feed-client-cli/src/main/java/ai/vespa/feed/client/CliClient.java b/vespa-feed-client-cli/src/main/java/ai/vespa/feed/client/CliClient.java
index 9d4f3525c32..5aff8dfc25d 100644
--- a/vespa-feed-client-cli/src/main/java/ai/vespa/feed/client/CliClient.java
+++ b/vespa-feed-client-cli/src/main/java/ai/vespa/feed/client/CliClient.java
@@ -127,7 +127,7 @@ public class CliClient {
JsonFactory factory = new JsonFactory();
long okCount = stats.successes();
long errorCount = stats.requests() - okCount;
- double throughput = okCount * 1e6D / Math.max(1, durationNanos);
+ double throughput = okCount * 1e9 / Math.max(1, durationNanos);
try (JsonGenerator generator = factory.createGenerator(systemOut).useDefaultPrettyPrinter()) {
generator.writeStartObject();
generator.writeNumberField("feeder.runtime", durationNanos / 1_000_000);