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

Issue 736653002: [Pywebsocket PerformanceTests 2/2] Add blink_perf.pywebsocket (Closed)

Created:
6 years, 1 month ago by hiroshige
Modified:
5 years, 3 months ago
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Pywebsocket PerformanceTests 2/2] Add blink_perf.pywebsocket This CL adds blink_perf.pywebsocket, in which - Pywebsocket server is started at localhost:8001, and - Browser option --disable-web-security is added, because we need cross-origin accesses between memory_cache_http_server and pywebsocket server. [1/2] PerformanceTests scripts: https://codereview.chromium.org/738753002/ [2/2] Telemetry: This CL BUG=432408 CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect;tryserver.chromium.perf:mac_perf_bisect;tryserver.chromium.perf:win_perf_bisect Committed: https://crrev.com/ab513a3c1d3c7a14b55f26f6978ac31ffe530e00 Cr-Commit-Position: refs/heads/master@{#348149}

Patch Set 1 #

Patch Set 2 : Move to PerformanceTests/Pywebsocket #

Patch Set 3 : #

Patch Set 4 : Rebase. #

Total comments: 2

Patch Set 5 : Remove debug code. #

Patch Set 6 : Rebase. #

Patch Set 7 : Move pywebsocket code outside Telemetry #

Total comments: 8

Patch Set 8 : Remove unnecessary variables #

Total comments: 2

Patch Set 9 : Rebase. Override shared_page_state. #

Total comments: 5

Patch Set 10 : Move to constructor. #

Total comments: 2

Patch Set 11 : Add StartLocalServer to platform. #

Patch Set 12 : Add TODO. #

Total comments: 4

Patch Set 13 : Use shared_page_state.platform #

Patch Set 14 : Rebase. #

Patch Set 15 : Disable on Windows/CrOS. #

Patch Set 16 : Rebase. #

Patch Set 17 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -0 lines) Patch
M tools/perf/benchmarks/blink_perf.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +39 lines, -0 lines 0 comments Download
A tools/perf/benchmarks/pywebsocket_server.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +40 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +9 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/internal/browser/browser.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 64 (20 generated)
hiroshige
Could you take a look? (FYI this depends on DEPS update https://codereview.chromium.org/738653003/ and test cases ...
6 years, 1 month ago (2014-11-18 12:07:48 UTC) #2
tonyg
slamm@ has been doing a lot of refactoring on the way Telemetry starts/stops its servers. ...
6 years, 1 month ago (2014-11-20 00:34:53 UTC) #4
hiroshige
slamm@, could you take a look? Thanks.
6 years ago (2014-12-15 09:10:36 UTC) #5
chromium-reviews
Taking a look... On Mon, Dec 15, 2014 at 1:10 AM, <hiroshige@chromium.org> wrote: > > ...
6 years ago (2014-12-15 22:47:49 UTC) #6
slamm
It seems okay to me. Chris may like to take a look. https://codereview.chromium.org/736653002/diff/60001/tools/telemetry/telemetry/core/pywebsocket_server.py File tools/telemetry/telemetry/core/pywebsocket_server.py ...
6 years ago (2014-12-15 23:56:36 UTC) #7
hiroshige
Thanks! Chris, could you take a look? https://codereview.chromium.org/736653002/diff/60001/tools/telemetry/telemetry/core/pywebsocket_server.py File tools/telemetry/telemetry/core/pywebsocket_server.py (right): https://codereview.chromium.org/736653002/diff/60001/tools/telemetry/telemetry/core/pywebsocket_server.py#newcode40 tools/telemetry/telemetry/core/pywebsocket_server.py:40: print util.GetChromiumSrcDir() ...
6 years ago (2014-12-17 05:24:27 UTC) #9
chrishenry
Is the page checked in? Can I see the page you're using? I'm wondering whether ...
6 years ago (2014-12-19 08:45:50 UTC) #10
hiroshige
> Is the page checked in? Can I see the page you're using? The draft ...
6 years ago (2014-12-19 09:29:00 UTC) #11
chrishenry
Hm, maybe NavigateToPage and CleanUpAfterPage? There isn't a good hook in place right now for ...
6 years ago (2014-12-20 02:34:21 UTC) #13
chrishenry
On 2014/12/20 02:34:21, chrishenry (OOO until Jan 5) wrote: > Hm, maybe NavigateToPage and CleanUpAfterPage? ...
6 years ago (2014-12-20 02:36:22 UTC) #14
hiroshige
Thank you for suggestion! I looked at page_test interface again and I moved pywebsocket-related to ...
6 years ago (2014-12-22 12:18:58 UTC) #16
nednguyen
https://codereview.chromium.org/736653002/diff/140001/tools/perf/benchmarks/blink_perf.py File tools/perf/benchmarks/blink_perf.py (right): https://codereview.chromium.org/736653002/diff/140001/tools/perf/benchmarks/blink_perf.py#newcode107 tools/perf/benchmarks/blink_perf.py:107: run_pywebsocket_server = True What is this variable for? https://codereview.chromium.org/736653002/diff/140001/tools/perf/benchmarks/blink_perf.py#newcode111 ...
5 years, 11 months ago (2015-01-05 23:10:58 UTC) #17
hiroshige
https://codereview.chromium.org/736653002/diff/140001/tools/perf/benchmarks/blink_perf.py File tools/perf/benchmarks/blink_perf.py (right): https://codereview.chromium.org/736653002/diff/140001/tools/perf/benchmarks/blink_perf.py#newcode107 tools/perf/benchmarks/blink_perf.py:107: run_pywebsocket_server = True Removed. https://codereview.chromium.org/736653002/diff/140001/tools/perf/benchmarks/blink_perf.py#newcode111 tools/perf/benchmarks/blink_perf.py:111: self.needs_pywebsocket_server = True ...
5 years, 11 months ago (2015-01-06 05:42:51 UTC) #18
hiroshige
chrishenry@, is it fine with you to have pywebsocket_server.py under telemetry/core? If so, I'll move ...
5 years, 11 months ago (2015-01-15 09:39:40 UTC) #19
chrishenry
On 2015/01/15 09:39:40, hiroshige wrote: > chrishenry@, is it fine with you to have pywebsocket_server.py ...
5 years, 11 months ago (2015-01-15 19:07:41 UTC) #20
hiroshige
nednguyen, could you take a look at chrishenry's comment in #20? Thanks.
5 years, 11 months ago (2015-01-21 04:51:32 UTC) #21
nednguyen
ok, I think I was confused when seeing client code deal with these server setup ...
5 years, 11 months ago (2015-01-21 16:45:48 UTC) #23
hiroshige
https://codereview.chromium.org/736653002/diff/160001/tools/perf/benchmarks/blink_perf.py File tools/perf/benchmarks/blink_perf.py (right): https://codereview.chromium.org/736653002/diff/160001/tools/perf/benchmarks/blink_perf.py#newcode120 tools/perf/benchmarks/blink_perf.py:120: def DidStartBrowser(self, browser): On 2015/01/21 16:45:48, nednguyen wrote: > ...
5 years, 8 months ago (2015-04-03 11:11:41 UTC) #25
nednguyen
I think this patch is landable. +Kari, can you also take a pass at this? ...
5 years, 8 months ago (2015-04-06 17:34:02 UTC) #27
hiroshige
https://codereview.chromium.org/736653002/diff/200001/tools/perf/benchmarks/blink_perf.py File tools/perf/benchmarks/blink_perf.py (right): https://codereview.chromium.org/736653002/diff/200001/tools/perf/benchmarks/blink_perf.py#newcode138 tools/perf/benchmarks/blink_perf.py:138: pywebsocket_server.PywebsocketServer, None): On 2015/04/06 17:34:02, nednguyen wrote: > Can ...
5 years, 8 months ago (2015-04-08 07:47:25 UTC) #28
nednguyen
https://codereview.chromium.org/736653002/diff/200001/tools/perf/benchmarks/blink_perf.py File tools/perf/benchmarks/blink_perf.py (right): https://codereview.chromium.org/736653002/diff/200001/tools/perf/benchmarks/blink_perf.py#newcode138 tools/perf/benchmarks/blink_perf.py:138: pywebsocket_server.PywebsocketServer, None): On 2015/04/08 07:47:25, hiroshige wrote: > On ...
5 years, 8 months ago (2015-04-08 15:08:26 UTC) #29
aiolos (Not reviewing)
https://codereview.chromium.org/736653002/diff/200001/tools/perf/benchmarks/blink_perf.py File tools/perf/benchmarks/blink_perf.py (right): https://codereview.chromium.org/736653002/diff/200001/tools/perf/benchmarks/blink_perf.py#newcode138 tools/perf/benchmarks/blink_perf.py:138: pywebsocket_server.PywebsocketServer, None): On 2015/04/08 15:08:26, nednguyen wrote: > On ...
5 years, 8 months ago (2015-04-08 17:32:56 UTC) #30
hiroshige
https://codereview.chromium.org/736653002/diff/200001/tools/perf/benchmarks/blink_perf.py File tools/perf/benchmarks/blink_perf.py (right): https://codereview.chromium.org/736653002/diff/200001/tools/perf/benchmarks/blink_perf.py#newcode138 tools/perf/benchmarks/blink_perf.py:138: pywebsocket_server.PywebsocketServer, None): On 2015/04/08 17:32:56, aiolos wrote: > On ...
5 years, 8 months ago (2015-04-09 09:11:42 UTC) #31
nednguyen
Hi Hiroshi, I think this is definitely in the right direction, but the API isn't ...
5 years, 8 months ago (2015-04-09 15:41:51 UTC) #32
hiroshige
On 2015/04/09 15:41:51, nednguyen wrote: > Hi Hiroshi, I think this is definitely in the ...
5 years, 8 months ago (2015-04-22 10:39:29 UTC) #33
nednguyen
On 2015/04/22 10:39:29, hiroshige wrote: > On 2015/04/09 15:41:51, nednguyen wrote: > > Hi Hiroshi, ...
5 years, 8 months ago (2015-04-22 14:55:04 UTC) #34
hiroshige
> I think the shortest work around is probably copying related > local_server_controller API in ...
5 years, 8 months ago (2015-04-23 08:41:44 UTC) #36
hiroshige
https://codereview.chromium.org/736653002/diff/220001/tools/perf/benchmarks/blink_perf.py File tools/perf/benchmarks/blink_perf.py (right): https://codereview.chromium.org/736653002/diff/220001/tools/perf/benchmarks/blink_perf.py#newcode139 tools/perf/benchmarks/blink_perf.py:139: backend = platform._platform_backend # pylint: disable=W0212 On 2015/04/09 15:41:51, ...
5 years, 8 months ago (2015-04-23 08:41:57 UTC) #37
nednguyen
https://codereview.chromium.org/736653002/diff/280001/tools/perf/benchmarks/blink_perf.py File tools/perf/benchmarks/blink_perf.py (right): https://codereview.chromium.org/736653002/diff/280001/tools/perf/benchmarks/blink_perf.py#newcode139 tools/perf/benchmarks/blink_perf.py:139: platform_module.GetHostPlatform().StartLocalServer( Does this benchmark work for the case browser ...
5 years, 8 months ago (2015-04-23 15:29:19 UTC) #38
hiroshige
https://codereview.chromium.org/736653002/diff/280001/tools/perf/benchmarks/blink_perf.py File tools/perf/benchmarks/blink_perf.py (right): https://codereview.chromium.org/736653002/diff/280001/tools/perf/benchmarks/blink_perf.py#newcode139 tools/perf/benchmarks/blink_perf.py:139: platform_module.GetHostPlatform().StartLocalServer( On 2015/04/23 15:29:19, nednguyen wrote: > Does this ...
5 years, 8 months ago (2015-04-24 08:15:44 UTC) #39
nednguyen
https://codereview.chromium.org/736653002/diff/280001/tools/perf/benchmarks/blink_perf.py File tools/perf/benchmarks/blink_perf.py (right): https://codereview.chromium.org/736653002/diff/280001/tools/perf/benchmarks/blink_perf.py#newcode139 tools/perf/benchmarks/blink_perf.py:139: platform_module.GetHostPlatform().StartLocalServer( On 2015/04/24 08:15:44, hiroshige wrote: > On 2015/04/23 ...
5 years, 8 months ago (2015-04-24 15:04:37 UTC) #40
hiroshige
Sorry for delay. I fixed the problem on Android in Patch Set 13, and rebased ...
5 years, 4 months ago (2015-07-30 05:29:07 UTC) #44
hiroshige
FYI Test results on Windows trybots: https://codereview.chromium.org/1268523005/#ps1 They timed out after 1-hour time limit. The ...
5 years, 4 months ago (2015-07-30 05:34:16 UTC) #45
nednguyen
lgtm I think you want to disable the test on both Windows & cros. Also ...
5 years, 4 months ago (2015-07-30 15:17:25 UTC) #47
hiroshige
Thanks for reviewing! I disabled Windows&cros in Patch Set 15. I'll commit this after depending ...
5 years, 4 months ago (2015-08-19 12:49:52 UTC) #48
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/736653002/500001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/736653002/500001
5 years, 3 months ago (2015-09-10 08:34:58 UTC) #53
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_nexus5_perf_bisect on tryserver.chromium.perf (JOB_TIMED_OUT, no build URL)
5 years, 3 months ago (2015-09-10 10:35:34 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/736653002/500001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/736653002/500001
5 years, 3 months ago (2015-09-10 14:11:59 UTC) #58
nednguyen(REVIEW IN OTHER ACC)
On 2015/09/10 10:35:34, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
5 years, 3 months ago (2015-09-10 14:12:34 UTC) #59
commit-bot: I haz the power
Committed patchset #17 (id:500001)
5 years, 3 months ago (2015-09-10 14:17:26 UTC) #60
commit-bot: I haz the power
Patchset 17 (id:??) landed as https://crrev.com/ab513a3c1d3c7a14b55f26f6978ac31ffe530e00 Cr-Commit-Position: refs/heads/master@{#348149}
5 years, 3 months ago (2015-09-10 14:18:00 UTC) #61
Rick Byers
A revert of this CL (patchset #17 id:500001) has been created in https://codereview.chromium.org/1333153002/ by rbyers@chromium.org. ...
5 years, 3 months ago (2015-09-10 23:53:04 UTC) #62
hiroshige
Created a relanding CL: https://codereview.chromium.org/1331403002/
5 years, 3 months ago (2015-09-11 04:23:35 UTC) #63
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:10:25 UTC) #64
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/ab513a3c1d3c7a14b55f26f6978ac31ffe530e00
Cr-Commit-Position: refs/heads/master@{#348149}

Powered by Google App Engine
This is Rietveld 408576698