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

Issue 488003003: Add ChannelProxy benchmark to ipc_perftests. (Closed)

Created:
6 years, 3 months ago by Hajime Morrita
Modified:
6 years, 3 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, darin (slow to review), erikwright+watch_chromium.org, ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add ChannelProxy benchmark to ipc_perftests. This CL add a ChannelProxy equivalent of the Channel benchmark to ipc_perftests. To use it in the benchmark, TestIOThread is extracted from mojo/system/ to base/test TEST=IPChannelPerfTest.ChannelProxyPingPong R=viettrungluu@chromium.org,brettw@chromium.org,darin@chromium.org BUG=none Committed: https://crrev.com/d36736cd2b6763bc9eb4e089b07fff0e8d1c534c Cr-Commit-Position: refs/heads/master@{#292518}

Patch Set 1 #

Patch Set 2 : Fixing build errors #

Patch Set 3 : Resolved conflicts #

Total comments: 12

Patch Set 4 : Updated #

Total comments: 4

Patch Set 5 : Updated #

Patch Set 6 : Landing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -147 lines) Patch
M base/base.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M base/test/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A base/test/test_io_thread.h View 1 2 3 4 1 chunk +59 lines, -0 lines 0 comments Download
A + base/test/test_io_thread.cc View 1 2 3 3 chunks +7 lines, -37 lines 0 comments Download
M ipc/ipc_perftests.cc View 1 2 3 8 chunks +61 lines, -12 lines 0 comments Download
M ipc/ipc_test_base.h View 1 2 3 4 5 2 chunks +13 lines, -3 lines 0 comments Download
M ipc/ipc_test_base.cc View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M ipc/mojo/ipc_channel_mojo_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/embedder/embedder_unittest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M mojo/system/channel_unittest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M mojo/system/message_pipe_test_utils.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M mojo/system/message_pipe_test_utils.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M mojo/system/raw_channel_unittest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M mojo/system/remote_message_pipe_unittest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M mojo/system/test_utils.h View 1 chunk +0 lines, -35 lines 0 comments Download
M mojo/system/test_utils.cc View 1 chunk +0 lines, -41 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Hajime Morrita
6 years, 3 months ago (2014-08-26 22:43:00 UTC) #1
viettrungluu
https://codereview.chromium.org/488003003/diff/40001/base/test/test_io_thread.cc File base/test/test_io_thread.cc (right): https://codereview.chromium.org/488003003/diff/40001/base/test/test_io_thread.cc#newcode1 base/test/test_io_thread.cc:1: // Copyright (c) 2011 The Chromium Authors. All rights ...
6 years, 3 months ago (2014-08-27 16:47:18 UTC) #2
viettrungluu
https://codereview.chromium.org/488003003/diff/40001/base/test/test_io_thread.h File base/test/test_io_thread.h (right): https://codereview.chromium.org/488003003/diff/40001/base/test/test_io_thread.h#newcode1 base/test/test_io_thread.h:1: // Copyright (c) 2014 The Chromium Authors. All rights ...
6 years, 3 months ago (2014-08-27 16:52:12 UTC) #3
Hajime Morrita
Thanks for the review! PTAL? https://codereview.chromium.org/488003003/diff/40001/base/test/test_io_thread.cc File base/test/test_io_thread.cc (right): https://codereview.chromium.org/488003003/diff/40001/base/test/test_io_thread.cc#newcode1 base/test/test_io_thread.cc:1: // Copyright (c) 2011 ...
6 years, 3 months ago (2014-08-27 17:47:43 UTC) #4
viettrungluu
https://codereview.chromium.org/488003003/diff/60001/base/test/test_io_thread.h File base/test/test_io_thread.h (right): https://codereview.chromium.org/488003003/diff/60001/base/test/test_io_thread.h#newcode20 base/test/test_io_thread.h:20: // It also provides some ideaomatic API like PostTaskAndWait(). ...
6 years, 3 months ago (2014-08-28 00:07:31 UTC) #5
Hajime Morrita
PTAL? https://codereview.chromium.org/488003003/diff/60001/base/test/test_io_thread.h File base/test/test_io_thread.h (right): https://codereview.chromium.org/488003003/diff/60001/base/test/test_io_thread.h#newcode20 base/test/test_io_thread.h:20: // It also provides some ideaomatic API like ...
6 years, 3 months ago (2014-08-28 00:24:35 UTC) #6
Hajime Morrita
Trung: Ping? Brett, Darin: Could you rubberstamp for base/test? The TestIOThread class is moved from ...
6 years, 3 months ago (2014-08-28 17:26:35 UTC) #7
viettrungluu
lgtm
6 years, 3 months ago (2014-08-28 19:15:44 UTC) #8
brettw
I don't really understand the new setter in ipc_test_base. It looks like that test creates ...
6 years, 3 months ago (2014-08-28 19:47:01 UTC) #9
Hajime Morrita
On 2014/08/28 19:47:01, brettw wrote: > I don't really understand the new setter in ipc_test_base. ...
6 years, 3 months ago (2014-08-28 20:18:42 UTC) #10
brettw
LGTM. Can you put a detailed comment on the setter about what this does (i.e. ...
6 years, 3 months ago (2014-08-28 21:17:31 UTC) #11
Hajime Morrita
On 2014/08/28 21:17:31, brettw wrote: > LGTM. > > Can you put a detailed comment ...
6 years, 3 months ago (2014-08-28 21:34:05 UTC) #12
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 3 months ago (2014-08-28 21:39:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/488003003/100001
6 years, 3 months ago (2014-08-28 21:40:03 UTC) #14
jam
jam@chromium.org changed reviewers: + jam@chromium.org
6 years, 3 months ago (2014-08-28 21:49:51 UTC) #15
jam
lgtm
6 years, 3 months ago (2014-08-28 21:49:52 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-08-28 23:22:57 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001) as 93cd24e4350ece15ce08d4015d5cd1b62a5333f7
6 years, 3 months ago (2014-08-29 00:21:44 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:04:14 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d36736cd2b6763bc9eb4e089b07fff0e8d1c534c
Cr-Commit-Position: refs/heads/master@{#292518}

Powered by Google App Engine
This is Rietveld 408576698