Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2300)

Unified Diff: ipc/ipc_perftest_support.cc

Issue 929433005: WIP: A couple of more ChannelMojo speedup ideas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build and test fix Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ipc/mojo/async_handle_waiter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_perftest_support.cc
diff --git a/ipc/ipc_perftest_support.cc b/ipc/ipc_perftest_support.cc
index f8a11c549dc8387aebc3e89ecd26ef3628a0f0c6..43b0e02f84d95eb92c26234172ce34136663767a 100644
--- a/ipc/ipc_perftest_support.cc
+++ b/ipc/ipc_perftest_support.cc
@@ -229,11 +229,16 @@ IPCChannelPerfTestBase::GetDefaultTestParams() {
// Test several sizes. We use 12^N for message size, and limit the message
// count to keep the test duration reasonable.
std::vector<PingPongTestParams> list;
+#if 0
list.push_back(PingPongTestParams(12, 50000));
list.push_back(PingPongTestParams(144, 50000));
list.push_back(PingPongTestParams(1728, 50000));
list.push_back(PingPongTestParams(20736, 12000));
list.push_back(PingPongTestParams(248832, 1000));
+#else
+ // list.push_back(PingPongTestParams(12, 1000000));
+ list.push_back(PingPongTestParams(12, 1000000));
+#endif
return list;
}
« no previous file with comments | « no previous file | ipc/mojo/async_handle_waiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698