8000 Add ID to final output messages. · aashish13/rabbitmq-java-client@aee709b · GitHub
[go: up one dir, main page]

Skip to content

Commit aee709b

Browse files
committed
Add ID to final output messages.
1 parent 56686ae commit aee709b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/rabbitmq/examples/PerfTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,13 @@ private String getRate(String descr, long count, boolean display,
245245
public void printFinal() {
246246
long now = System.currentTimeMillis();
247247

248-
System.out.println("sending rate avg: " +
248+
System.out.println("id: " + testID + " - sending rate avg: " +
249249
formatRate(sendCountTotal * 1000.0 / (now - startTime)) +
250250
" msg/s");
251251

252252
long elapsed = now - startTime;
253253
if (elapsed > 0) {
254-
System.out.println("recving rate avg: " +
254+
System.out.println("id: " + testID + " - recving rate avg: " +
255255
formatRate(recvCountTotal * 1000.0 / elapsed) +
256256
" msg/s");
257257
}

0 commit comments

Comments
 (0)
0