diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-29 14:58:45 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-29 14:58:45 +0300 |
commit | 93bee68f45846e50cdbe0e1c8429150872086e4a (patch) | |
tree | cf10fc2e7590a1a8831b25e0b875cb135bc33fd0 | |
parent | 6f73664f66b578378368e6d89b052a76c8f479f4 (diff) | |
download | ydb-93bee68f45846e50cdbe0e1c8429150872086e4a.tar.gz |
Intermediate changes
-rw-r--r-- | library/cpp/actors/core/actor_ut.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/library/cpp/actors/core/actor_ut.cpp b/library/cpp/actors/core/actor_ut.cpp index abf1b964787..157608fc88c 100644 --- a/library/cpp/actors/core/actor_ut.cpp +++ b/library/cpp/actors/core/actor_ut.cpp @@ -104,7 +104,6 @@ Y_UNIT_TEST_SUITE(ActorBenchmark) { *ElapsedTime = Timer.Passed() / TotalEventsAmount; } PassAway(); - Cerr << "-"; return true; } return false; @@ -506,13 +505,13 @@ Y_UNIT_TEST_SUITE(ActorBenchmark) { Y_UNIT_TEST(SendActivateReceive1Pool8ThreadsUnited) { RunBenchContentedThreads(8, EPoolType::United); } Y_UNIT_TEST(SendActivateReceiveCSV) { - Cerr << "threads, actorPairs, time " << Endl; + Cout << "threads,actorPairs,msgs_per_sec" << Endl; for (ui32 threads = 1; threads <= 32; threads *= 2) { - for (ui32 actorPairs = 1; actorPairs <= 2 * threads; actorPairs++) { + for (ui32 actorPairs = 1; actorPairs <= 2 * 32; actorPairs *= 2) { auto stats = CountStats([threads, actorPairs] { return BenchContentedThreads(threads, actorPairs, EPoolType::Basic, ESendingType::Common); - }); - Cerr << threads << "," << actorPairs << "," << actorPairs * 1e9 / stats.Mean << Endl; + }, 3); + Cout << threads << "," << actorPairs << "," << actorPairs * 1e9 / stats.Mean << Endl; } } } |