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

Issue 536213002: Add ipc_mojo_perftests (Closed)

Created:
6 years, 3 months ago by Hajime Morrita
Modified:
6 years, 3 months ago
Reviewers:
yuzhu, darin (slow to review), jam, yzshen1
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), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add ipc_mojo_perftests This change adds ipc_mojo_perftests that runs the same benchmark as of ipc_perftests. Now head-to-head comparison becomes possible. For this change, whole ipc_perftests logic is extracted to ipc_perftest_support.cc to make it reusable by ipc_mojo_perftests. TEST=none BUG=none R=jam@chromium.org, darin@chromium.org, yuzhu@chromium.org Committed: https://crrev.com/373af03b7c0e1932c7ea3b832918b7767d47ff89 Cr-Commit-Position: refs/heads/master@{#293988}

Patch Set 1 #

Patch Set 2 : Updated #

Patch Set 3 : Updated #

Total comments: 15

Patch Set 4 : Updated #

Patch Set 5 : Simplified ChannelMojo API surface #

Patch Set 6 : Landing #

Patch Set 7 : Addressed Yuzhu's comments #

Total comments: 6

Patch Set 8 : Removed garbage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -426 lines) Patch
M ipc/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M ipc/ipc.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ipc/ipc_channel.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel_factory.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A ipc/ipc_perftest_support.h View 1 2 3 4 5 6 1 chunk +59 lines, -0 lines 0 comments Download
A + ipc/ipc_perftest_support.cc View 1 2 3 4 5 6 17 chunks +72 lines, -56 lines 0 comments Download
M ipc/ipc_perftests.cc View 1 2 3 2 chunks +8 lines, -305 lines 0 comments Download
M ipc/ipc_test_base.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M ipc/ipc_test_base.cc View 1 2 3 4 chunks +15 lines, -7 lines 0 comments Download
M ipc/mojo/BUILD.gn View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M ipc/mojo/ipc_channel_mojo.h View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M ipc/mojo/ipc_channel_mojo.cc View 1 2 3 4 1 chunk +2 lines, -10 lines 0 comments Download
M ipc/mojo/ipc_channel_mojo_unittest.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -41 lines 0 comments Download
M ipc/mojo/ipc_mojo.gyp View 1 chunk +25 lines, -0 lines 0 comments Download
A ipc/mojo/ipc_mojo_perftest.cc View 1 2 3 4 5 6 7 1 chunk +87 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (4 generated)
Hajime Morrita
6 years, 3 months ago (2014-09-03 22:39:48 UTC) #1
Hajime Morrita
This needs yuzhu's fix https://codereview.chromium.org/538593002/ before landing.
6 years, 3 months ago (2014-09-03 22:41:55 UTC) #2
yzshen1
On 2014/09/03 22:41:55, morrita wrote: > This needs yuzhu's fix https://codereview.chromium.org/538593002/ before > landing. Have ...
6 years, 3 months ago (2014-09-03 22:49:28 UTC) #3
Hajime Morrita
Thanks for the review! PTAL? On 2014/09/03 22:49:28, yzshen1 wrote: > On 2014/09/03 22:41:55, morrita ...
6 years, 3 months ago (2014-09-04 21:10:46 UTC) #4
yzshen1
https://codereview.chromium.org/536213002/diff/40001/ipc/BUILD.gn File ipc/BUILD.gn (right): https://codereview.chromium.org/536213002/diff/40001/ipc/BUILD.gn#newcode164 ipc/BUILD.gn:164: "ipc_perftest_support.h", nit: please order alphabetically. https://codereview.chromium.org/536213002/diff/40001/ipc/ipc.gyp File ipc/ipc.gyp (right): ...
6 years, 3 months ago (2014-09-04 23:44:09 UTC) #6
yzshen1
https://codereview.chromium.org/536213002/diff/40001/ipc/mojo/ipc_mojo_perftest.cc File ipc/mojo/ipc_mojo_perftest.cc (right): https://codereview.chromium.org/536213002/diff/40001/ipc/mojo/ipc_mojo_perftest.cc#newcode81 ipc/mojo/ipc_mojo_perftest.cc:81: RunTestChannelProxyPingPong(GetDefaultTestParams()); I think this calls into IPCTestBase::CreateChannelProxy(), which doesn't ...
6 years, 3 months ago (2014-09-05 18:20:13 UTC) #7
Hajime Morrita
On 2014/09/05 18:20:13, yzshen1 wrote: > https://codereview.chromium.org/536213002/diff/40001/ipc/mojo/ipc_mojo_perftest.cc > File ipc/mojo/ipc_mojo_perftest.cc (right): > > https://codereview.chromium.org/536213002/diff/40001/ipc/mojo/ipc_mojo_perftest.cc#newcode81 > ...
6 years, 3 months ago (2014-09-08 21:13:26 UTC) #8
Hajime Morrita
Jam, Darin: PTAL? This has IPCTestBase refactoring and add another benchmark based on it. I ...
6 years, 3 months ago (2014-09-08 22:28:58 UTC) #9
jam
lgtm
6 years, 3 months ago (2014-09-09 00:27:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/536213002/100001
6 years, 3 months ago (2014-09-09 00:43:07 UTC) #12
Hajime Morrita
Yuzhu: PTAL? After looking at all your comment, I found that It'd be nice to ...
6 years, 3 months ago (2014-09-09 01:03:18 UTC) #14
yzshen1
https://codereview.chromium.org/536213002/diff/120001/ipc/mojo/ipc_channel_mojo_unittest.cc File ipc/mojo/ipc_channel_mojo_unittest.cc (right): https://codereview.chromium.org/536213002/diff/120001/ipc/mojo/ipc_channel_mojo_unittest.cc#newcode58 ipc/mojo/ipc_channel_mojo_unittest.cc:58: class ListenerThatShouldBeNeverCalled : public IPC::Listener { Is this class ...
6 years, 3 months ago (2014-09-09 07:45:29 UTC) #15
Hajime Morrita
PTAL? https://codereview.chromium.org/536213002/diff/120001/ipc/mojo/ipc_channel_mojo_unittest.cc File ipc/mojo/ipc_channel_mojo_unittest.cc (right): https://codereview.chromium.org/536213002/diff/120001/ipc/mojo/ipc_channel_mojo_unittest.cc#newcode58 ipc/mojo/ipc_channel_mojo_unittest.cc:58: class ListenerThatShouldBeNeverCalled : public IPC::Listener { On 2014/09/09 ...
6 years, 3 months ago (2014-09-09 16:56:09 UTC) #16
yzshen1
On 2014/09/09 16:56:09, morrita wrote: > PTAL? > > https://codereview.chromium.org/536213002/diff/120001/ipc/mojo/ipc_channel_mojo_unittest.cc > File ipc/mojo/ipc_channel_mojo_unittest.cc (right): > ...
6 years, 3 months ago (2014-09-09 16:57:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/536213002/140001
6 years, 3 months ago (2014-09-09 17:13:29 UTC) #19
commit-bot: I haz the power
Committed patchset #8 (id:140001) as dadfdeace9c74a6f1cacc8bd43033388dfd6050c
6 years, 3 months ago (2014-09-09 19:36:33 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:54:59 UTC) #21
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/373af03b7c0e1932c7ea3b832918b7767d47ff89
Cr-Commit-Position: refs/heads/master@{#293988}

Powered by Google App Engine
This is Rietveld 408576698