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

Issue 19518009: Implement 'skip_navigate_on_repeat' option (Closed)

Created:
7 years, 5 months ago by edmundyan
Modified:
7 years, 4 months ago
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement 'skip_navigate_on_repeat' option. If enabled, page runner will skip the implicit navigate action when repeating pages BUG=263030 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217214

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updating with dennis' comments #

Patch Set 3 : Revised patch. Option should only be set by the test and is stored under BrowserOptions #

Total comments: 5

Patch Set 4 : Dennis changes, removing target_side_url from page attribute #

Patch Set 5 : Updating with Dennis' nits #

Total comments: 2

Patch Set 6 : Adding repeat_state into RunState instance #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -14 lines) Patch
M tools/telemetry/telemetry/core/browser_options.py View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner.py View 1 2 3 4 5 6 6 chunks +28 lines, -14 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner_repeat.py View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
edmundyan
So this is a little different than my last e-mail, where I suggested making an ...
7 years, 4 months ago (2013-07-25 17:27:18 UTC) #1
dennis_jeffrey
I have some style nits. We should send this to Dave to see what he ...
7 years, 4 months ago (2013-07-25 17:50:56 UTC) #2
edmundyan
Dave, can you take a look please? https://codereview.chromium.org/19518009/diff/1/tools/telemetry/telemetry/page/page_runner_repeat.py File tools/telemetry/telemetry/page/page_runner_repeat.py (right): https://codereview.chromium.org/19518009/diff/1/tools/telemetry/telemetry/page/page_runner_repeat.py#newcode57 tools/telemetry/telemetry/page/page_runner_repeat.py:57: """Returns True ...
7 years, 4 months ago (2013-07-25 18:18:14 UTC) #3
dtu
Sorry if we've already discussed this, but why is skip_navigate_on_repeat an attribute on the page, ...
7 years, 4 months ago (2013-07-26 01:23:47 UTC) #4
edmundyan
I was unsure what you meant when you asked this previously, and I think you ...
7 years, 4 months ago (2013-07-26 05:45:31 UTC) #5
dennis_jeffrey
On 2013/07/26 05:45:31, edmundyan wrote: > I was unsure what you meant when you asked ...
7 years, 4 months ago (2013-07-26 16:35:41 UTC) #6
edmundyan
+nduca Nat, comment on whether this should be a page attribute or cmd line option?
7 years, 4 months ago (2013-07-26 17:15:53 UTC) #7
dtu
On 2013/07/26 16:35:41, dennis_jeffrey wrote: > On 2013/07/26 05:45:31, edmundyan wrote: > > I was ...
7 years, 4 months ago (2013-07-26 20:41:09 UTC) #8
dennisjeffrey
I meant arbitrary future benchmarks, not necessarily Chrome Endure-related. My feeling is that "skip_navigate_on_repeat" is ...
7 years, 4 months ago (2013-07-26 20:45:47 UTC) #9
edmundyan
Bumping this. Could use your input Nat. :) I think the design doc and end-state ...
7 years, 4 months ago (2013-07-30 00:30:14 UTC) #10
nduca
I suggest you two meet with dtu and come up with a plan that you ...
7 years, 4 months ago (2013-07-30 00:43:16 UTC) #11
edmundyan
On 2013/07/30 00:43:16, nduca wrote: > I suggest you two meet with dtu and come ...
7 years, 4 months ago (2013-07-31 03:11:39 UTC) #12
edmundyan
Dennis/Dave could you take a look at the new patch?
7 years, 4 months ago (2013-07-31 17:09:46 UTC) #13
dennis_jeffrey
https://codereview.chromium.org/19518009/diff/21001/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (right): https://codereview.chromium.org/19518009/diff/21001/tools/telemetry/telemetry/page/page_runner.py#newcode126 tools/telemetry/telemetry/page/page_runner.py:126: def InitialNavigation(self, page, tab, test=None): Would naming this function ...
7 years, 4 months ago (2013-07-31 21:09:16 UTC) #14
edmundyan
Sorry, I should have only done 1 CL at a time. I'm incorporating some of ...
7 years, 4 months ago (2013-08-01 00:14:02 UTC) #15
dennis_jeffrey
https://codereview.chromium.org/19518009/diff/21001/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (right): https://codereview.chromium.org/19518009/diff/21001/tools/telemetry/telemetry/page/page_runner.py#newcode126 tools/telemetry/telemetry/page/page_runner.py:126: def InitialNavigation(self, page, tab, test=None): On 2013/08/01 00:14:02, edmundyan ...
7 years, 4 months ago (2013-08-01 00:46:14 UTC) #16
edmundyan
On 2013/08/01 00:46:14, dennis_jeffrey wrote: > https://codereview.chromium.org/19518009/diff/21001/tools/telemetry/telemetry/page/page_runner.py > File tools/telemetry/telemetry/page/page_runner.py (right): > > https://codereview.chromium.org/19518009/diff/21001/tools/telemetry/telemetry/page/page_runner.py#newcode126 > ...
7 years, 4 months ago (2013-08-05 17:54:42 UTC) #17
dennis_jeffrey
LGTM; please wait to see what Dave and Nat think too. Thanks!
7 years, 4 months ago (2013-08-06 00:41:03 UTC) #18
edmundyan
Dave, could you take a look please? I want to land this one before working ...
7 years, 4 months ago (2013-08-09 22:13:27 UTC) #19
dtu
lgtm with nit/suggestion. https://codereview.chromium.org/19518009/diff/41001/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (right): https://codereview.chromium.org/19518009/diff/41001/tools/telemetry/telemetry/page/page_runner.py#newcode280 tools/telemetry/telemetry/page/page_runner.py:280: options.skip_navigate_on_repeat)) Hrm, I can potentially see ...
7 years, 4 months ago (2013-08-09 23:42:03 UTC) #20
edmundyan
https://codereview.chromium.org/19518009/diff/41001/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (right): https://codereview.chromium.org/19518009/diff/41001/tools/telemetry/telemetry/page/page_runner.py#newcode280 tools/telemetry/telemetry/page/page_runner.py:280: options.skip_navigate_on_repeat)) On 2013/08/09 23:42:04, Dave Tu wrote: > Hrm, ...
7 years, 4 months ago (2013-08-12 20:41:02 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/edmundyan@chromium.org/19518009/49001
7 years, 4 months ago (2013-08-12 20:47:39 UTC) #22
commit-bot: I haz the power
Failed to apply patch for tools/telemetry/telemetry/core/browser_options.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 4 months ago (2013-08-12 20:47:44 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/edmundyan@chromium.org/19518009/53001
7 years, 4 months ago (2013-08-12 23:00:43 UTC) #24
commit-bot: I haz the power
7 years, 4 months ago (2013-08-13 06:08:12 UTC) #25
Message was sent while issue was closed.
Change committed as 217214

Powered by Google App Engine
This is Rietveld 408576698