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

Issue 16154007: [Telemetry] Add a page set option to use all cold page loads. (Closed)

Created:
7 years, 6 months ago by tonyg
Modified:
7 years, 6 months ago
Reviewers:
dtu, nduca
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org, Randy Smith (Not in Mondays)
Visibility:
Public.

Description

[Telemetry] Add a PageTest option to clear cache before each run. This will be used for the network simulation page cycler where we need to ensure that each page load requests the resources from WPR instead of from the browser cache. BUG=None TEST=top_25 page cycler on linux NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207979

Patch Set 1 #

Total comments: 5

Patch Set 2 : Move --cold-page-loads to page_cycler.py #

Total comments: 8

Patch Set 3 : Use devtool's cache clearing #

Total comments: 8

Patch Set 4 : Move option to PageTest, remove command line option #

Patch Set 5 : Un-edit browser_options #

Patch Set 6 : Update docs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -33 lines) Patch
M tools/telemetry/docs/telemetry.html View 1 2 3 3 chunks +7 lines, -1 line 0 comments Download
M tools/telemetry/docs/telemetry.core.chrome.html View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M tools/telemetry/docs/telemetry.core.chrome.inspector_backend.html View 1 2 3 2 chunks +9 lines, -6 lines 0 comments Download
A + tools/telemetry/docs/telemetry.core.chrome.inspector_network.html View 1 2 3 4 5 4 chunks +9 lines, -18 lines 0 comments Download
M tools/telemetry/docs/telemetry.core.tab.html View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M tools/telemetry/docs/telemetry.page.page_measurement.html View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M tools/telemetry/docs/telemetry.page.page_test.html View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M tools/telemetry/docs/telemetry.page.page_test_runner.html View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M tools/telemetry/docs/telemetry.page.record_wpr.html View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/inspector_backend.py View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/core/chrome/inspector_network.py View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/tab.py View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/page_measurement.py View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner.py View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/page_test.py View 1 2 3 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
tonyg
7 years, 6 months ago (2013-05-31 20:39:48 UTC) #1
nduca
some thoughts https://codereview.chromium.org/16154007/diff/1/tools/telemetry/telemetry/core/browser.py File tools/telemetry/telemetry/core/browser.py (right): https://codereview.chromium.org/16154007/diff/1/tools/telemetry/telemetry/core/browser.py#newcode232 tools/telemetry/telemetry/core/browser.py:232: def ClearCache(self): what if the browser doesn't ...
7 years, 6 months ago (2013-05-31 20:42:41 UTC) #2
tonyg
https://codereview.chromium.org/16154007/diff/1/tools/telemetry/telemetry/core/browser.py File tools/telemetry/telemetry/core/browser.py (right): https://codereview.chromium.org/16154007/diff/1/tools/telemetry/telemetry/core/browser.py#newcode232 tools/telemetry/telemetry/core/browser.py:232: def ClearCache(self): On 2013/05/31 20:42:41, nduca wrote: > what ...
7 years, 6 months ago (2013-06-03 22:27:58 UTC) #3
nduca
You can expose an option as a field on the browser options object but not ...
7 years, 6 months ago (2013-06-03 23:29:38 UTC) #4
tonyg
On 2013/06/03 23:29:38, nduca wrote: > You can expose an option as a field on ...
7 years, 6 months ago (2013-06-03 23:46:28 UTC) #5
dtu
On 2013/06/03 23:46:28, tonyg wrote: > On 2013/06/03 23:29:38, nduca wrote: > > You can ...
7 years, 6 months ago (2013-06-03 23:57:17 UTC) #6
nduca
Yeplz.
7 years, 6 months ago (2013-06-04 00:42:29 UTC) #7
tonyg
https://codereview.chromium.org/16154007/diff/1/tools/telemetry/telemetry/core/browser_options.py File tools/telemetry/telemetry/core/browser_options.py (right): https://codereview.chromium.org/16154007/diff/1/tools/telemetry/telemetry/core/browser_options.py#newcode130 tools/telemetry/telemetry/core/browser_options.py:130: group.add_option('--cold-page-loads', action='store_true', On 2013/06/03 22:27:58, tonyg wrote: > On ...
7 years, 6 months ago (2013-06-04 18:29:06 UTC) #8
tonyg
On 2013/06/04 18:29:06, tonyg wrote: > https://codereview.chromium.org/16154007/diff/1/tools/telemetry/telemetry/core/browser_options.py > File tools/telemetry/telemetry/core/browser_options.py (right): > > https://codereview.chromium.org/16154007/diff/1/tools/telemetry/telemetry/core/browser_options.py#newcode130 > ...
7 years, 6 months ago (2013-06-06 22:41:50 UTC) #9
nduca
some concerns, i'm afraid https://codereview.chromium.org/16154007/diff/10001/tools/telemetry/telemetry/core/browser.py File tools/telemetry/telemetry/core/browser.py (right): https://codereview.chromium.org/16154007/diff/10001/tools/telemetry/telemetry/core/browser.py#newcode228 tools/telemetry/telemetry/core/browser.py:228: def CloseConnections(self): i recall asking ...
7 years, 6 months ago (2013-06-06 22:49:04 UTC) #10
tonyg
This uses devtools now for cache clearing. Should be ready for another look. https://codereview.chromium.org/16154007/diff/10001/tools/telemetry/telemetry/core/browser.py File ...
7 years, 6 months ago (2013-06-20 02:42:29 UTC) #11
nduca
im sorry https://codereview.chromium.org/16154007/diff/19001/tools/perf/perf_tools/page_cycler.py File tools/perf/perf_tools/page_cycler.py (right): https://codereview.chromium.org/16154007/diff/19001/tools/perf/perf_tools/page_cycler.py#newcode39 tools/perf/perf_tools/page_cycler.py:39: parser.add_option('--cold-page-loads', action='store_true', rather you not expose it ...
7 years, 6 months ago (2013-06-20 19:54:15 UTC) #12
tonyg
All comments addressed. This does look a lot cleaner now. https://codereview.chromium.org/16154007/diff/19001/tools/perf/perf_tools/page_cycler.py File tools/perf/perf_tools/page_cycler.py (right): https://codereview.chromium.org/16154007/diff/19001/tools/perf/perf_tools/page_cycler.py#newcode39 ...
7 years, 6 months ago (2013-06-21 22:36:18 UTC) #13
nduca
LGTM
7 years, 6 months ago (2013-06-21 22:49:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/16154007/29001
7 years, 6 months ago (2013-06-21 22:50:25 UTC) #15
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=11532
7 years, 6 months ago (2013-06-21 23:13:08 UTC) #16
tonyg
7 years, 6 months ago (2013-06-21 23:17:26 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/16154007/48001
7 years, 6 months ago (2013-06-22 00:40:47 UTC) #18
commit-bot: I haz the power
7 years, 6 months ago (2013-06-22 00:45:07 UTC) #19
Message was sent while issue was closed.
Change committed as 207979

Powered by Google App Engine
This is Rietveld 408576698