aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/test/perftest/perftest.cpp
diff options
context:
space:
mode:
authorcepera <cepera@yandex-team.ru>2022-02-10 16:49:45 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:45 +0300
commit99e67b1db27953625d41d1f3eb45ff2517b4d697 (patch)
treee54d1799e55c6a3c58feb227f2a1f22aa07912c0 /library/cpp/messagebus/test/perftest/perftest.cpp
parent28045de07753ee182fc8e5ca778469d7a7c5bb20 (diff)
downloadydb-99e67b1db27953625d41d1f3eb45ff2517b4d697.tar.gz
Restoring authorship annotation for <cepera@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus/test/perftest/perftest.cpp')
-rw-r--r--library/cpp/messagebus/test/perftest/perftest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/messagebus/test/perftest/perftest.cpp b/library/cpp/messagebus/test/perftest/perftest.cpp
index 8489319278..8350a6b01b 100644
--- a/library/cpp/messagebus/test/perftest/perftest.cpp
+++ b/library/cpp/messagebus/test/perftest/perftest.cpp
@@ -212,7 +212,7 @@ struct TTestStats {
return AtomicGet(Replies);
}
- double GetThroughput() {
+ double GetThroughput() {
return NumReplies() * 1000000.0 / (TInstant::Now() - Start).MicroSeconds();
}
@@ -491,7 +491,7 @@ TPerftestConfig::TPerftestConfig() {
ServerPort = DEFAULT_PORT;
Delay = 0; // artificial delay inside server OnMessage()
- MessageSize = 200;
+ MessageSize = 200;
Failure = 0.00;
Run = 60; // in seconds
Nodes = "localhost";