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

Unified Diff: tools/perf/perf_tools/page_cycler.py

Issue 16154007: [Telemetry] Add a page set option to use all cold page loads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use devtool's cache clearing Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/perf/perf_tools/page_cycler.py
diff --git a/tools/perf/perf_tools/page_cycler.py b/tools/perf/perf_tools/page_cycler.py
index d10adcdf7dc6ba24b7dfd65461323cdd36d5ade7..d6b7ab302ba484fa9322d3905953d27477f7f718 100644
--- a/tools/perf/perf_tools/page_cycler.py
+++ b/tools/perf/perf_tools/page_cycler.py
@@ -36,6 +36,10 @@ class PageCycler(page_measurement.PageMeasurement):
parser.remove_option('--pageset-repeat')
parser.add_option(pageset_repeat_option)
+ parser.add_option('--cold-page-loads', action='store_true',
nduca 2013/06/20 19:54:15 rather you not expose it as a commandline. just bl
tonyg 2013/06/21 22:36:18 Done (reluctantly, as I still think this is a usef
+ help='Make page loads cold by clearing browser cache between loads.')
+
+
def WillRunPageSet(self, tab, results):
# Avoid paying for a cross-renderer navigation on the first page on legacy
# page cyclers which use the filesystem.
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/browser_options.py » ('j') | tools/telemetry/telemetry/core/browser_options.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698