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

Unified Diff: mojo/edk/system/message_pipe_perftest.cc

Issue 1488853002: Add multiplexing of message pipes in the new EDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tsepez review comments Created 5 years 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 | « mojo/edk/system/message_pipe_dispatcher.cc ('k') | mojo/edk/system/message_pipe_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/message_pipe_perftest.cc
diff --git a/mojo/edk/system/message_pipe_perftest.cc b/mojo/edk/system/message_pipe_perftest.cc
index 5d59e6566083d9a0e2b358b5f03c6f3f43b45f15..e89143b9a83173f8f2af73d8a891910e9d6b35f7 100644
--- a/mojo/edk/system/message_pipe_perftest.cc
+++ b/mojo/edk/system/message_pipe_perftest.cc
@@ -24,8 +24,7 @@ class MultiprocessMessagePipePerfTest
: public test::MultiprocessMessagePipeTestBase {
public:
MultiprocessMessagePipePerfTest()
- : test::MultiprocessMessagePipeTestBase(base::MessageLoop::TYPE_IO),
- message_count_(0),
+ : message_count_(0),
message_size_(0) {}
void SetUpMeasurement(int message_count, size_t message_size) {
@@ -86,11 +85,6 @@ class MultiprocessMessagePipePerfTest
// (which it doesn't reply to). It'll return the number of messages received,
// not including any "quitquitquit" message, modulo 100.
MOJO_MULTIPROCESS_TEST_CHILD_MAIN(PingPongClient) {
- SimplePlatformSupport platform_support;
- base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
- base::TestIOThread test_io_thread(base::TestIOThread::kAutoStart);
- test::ScopedIPCSupport ipc_support(test_io_thread.task_runner());
-
ScopedPlatformHandle client_platform_handle =
test::MultiprocessTestHelper::client_platform_handle.Pass();
CHECK(client_platform_handle.is_valid());
« no previous file with comments | « mojo/edk/system/message_pipe_dispatcher.cc ('k') | mojo/edk/system/message_pipe_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698