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

Issue 112413006: [Telemetry] Fix page_cycler for pages with client side redirects. (Closed)

Created:
6 years, 11 months ago by qsr
Modified:
6 years, 11 months ago
Reviewers:
pdr., tonyg
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

[Telemetry] Fix page_cycler for pages with client side redirects. Page.disable clears all scripts to evaluate on commit. There is no way to detect client side redirects because linkedin, for example, performs its client side redirect after the page has fully loaded. In order for the page_cyclers to work on pages with client side redirects, the script to evaluate on commit must execute on the redirected page. So to workaround this, we avoid ever calling Page.disable. we don't expect continuing to listen for notifications here to impact performance, but if we do see any performance reduction on the bots we should revert and search for another approach. This is a reland of https://codereview.chromium.org/103373003 fixing failures on the bots. BUG=253604 R=pdr@chromium.org TEST=tools/perf/run_measurement --browser=canary page_cycler tools/perf/page_sets/top_10_mobile.json --pageset-repeat=2 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243533

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -29 lines) Patch
M tools/perf/benchmarks/page_cycler.py View 1 chunk +0 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/inspector_page.py View 4 chunks +40 lines, -27 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
qsr
Hi, This is a reland with a small bug fix from your CL: https://codereview.chromium.org/103373003 Any ...
6 years, 11 months ago (2014-01-07 14:30:12 UTC) #1
tonyg
lgtm Let's just try it and revert again if there are problems. Just out of ...
6 years, 11 months ago (2014-01-07 16:12:44 UTC) #2
qsr
Explanation added as an annotation where the code changed. https://codereview.chromium.org/112413006/diff/1/tools/telemetry/telemetry/core/backends/chrome/inspector_page.py File tools/telemetry/telemetry/core/backends/chrome/inspector_page.py (right): https://codereview.chromium.org/112413006/diff/1/tools/telemetry/telemetry/core/backends/chrome/inspector_page.py#newcode23 tools/telemetry/telemetry/core/backends/chrome/inspector_page.py:23: ...
6 years, 11 months ago (2014-01-07 16:22:15 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/112413006/1
6 years, 11 months ago (2014-01-07 16:23:05 UTC) #4
pdr.
On 2014/01/07 16:23:05, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 11 months ago (2014-01-07 17:54:06 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) nacl_integration http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=242483
6 years, 11 months ago (2014-01-07 19:24:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/112413006/1
6 years, 11 months ago (2014-01-08 07:59:59 UTC) #7
commit-bot: I haz the power
6 years, 11 months ago (2014-01-08 12:28:44 UTC) #8
Message was sent while issue was closed.
Change committed as 243533

Powered by Google App Engine
This is Rietveld 408576698