Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / ipc / ipc_perftests.cc
blobcb406260c042fb60bdb797720d4132f41355aab6
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ipc/ipc_perftest_support.h"
7 namespace {
9 // This test times the roundtrip IPC message cycle.
11 // TODO(brettw): Make this test run by default.
13 class IPCChannelPerfTest : public IPC::test::IPCChannelPerfTestBase {
16 TEST_F(IPCChannelPerfTest, ChannelPingPong) {
17 RunTestChannelPingPong(GetDefaultTestParams());
20 TEST_F(IPCChannelPerfTest, ChannelProxyPingPong) {
21 RunTestChannelProxyPingPong(GetDefaultTestParams());
24 MULTIPROCESS_IPC_TEST_CLIENT_MAIN(PerformanceClient) {
25 IPC::test::PingPongTestClient client;
26 return client.RunMain();
29 } // namespace