Skip to content

Commit 92e60f8

Browse files
committed
Add 99th percentile to console output
Fixes #117
1 parent ab4e777 commit 92e60f8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/com/rabbitmq/perf/PerfTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ public class PerfTest {
6363
private static final Logger LOGGER = LoggerFactory.getLogger(PerfTest.class);
6464

6565
public static void main(String [] args, PerfTestOptions perfTestOptions) {
66+
args = ("--uri amqp://admin:[email protected]/%2f " +
67+
"-r 1000")
68+
.split(" ");
6669
SystemExiter systemExiter = perfTestOptions.systemExiter;
6770
Options options = getOptions();
6871
CommandLineParser parser = new GnuParser();
@@ -667,7 +670,8 @@ protected void report(long now) {
667670
+ div(latency.getSnapshot().getMin()) + "/"
668671
+ div(latency.getSnapshot().getMedian()) + "/"
669672
+ div(latency.getSnapshot().get75thPercentile()) + "/"
670-
+ div(latency.getSnapshot().get95thPercentile()) + " " + units() :
673+
+ div(latency.getSnapshot().get95thPercentile()) + "/"
674+
+ div(latency.getSnapshot().get99thPercentile()) + " " + units() :
671675
"");
672676
}
673677

0 commit comments

Comments
 (0)