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

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

Issue 12389073: Collect tab timing information for use in telementry-based startup tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix telemetry tests with reference builds. Created 7 years, 7 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/memory_measurement.py
diff --git a/tools/perf/perf_tools/memory_measurement.py b/tools/perf/perf_tools/memory_measurement.py
index 37e14a21b5290d75695125aa752be47bb4b8bace..3fd89db5b574e838dd2f23a074a644872a1b184a 100644
--- a/tools/perf/perf_tools/memory_measurement.py
+++ b/tools/perf/perf_tools/memory_measurement.py
@@ -29,7 +29,7 @@ class MemoryMeasurement(page_measurement.PageMeasurement):
h.Start(page, tab)
def CustomizeBrowserOptions(self, options):
- options.AppendExtraBrowserArg('--dom-automation')
+ options.AppendExtraBrowserArg('--enable-stats-collection-bindings')
# For a hard-coded set of Google pages (such as GMail), we produce custom
# memory histograms (V8.Something_gmail) instead of the generic histograms
# (V8.Something), if we detect that a renderer is only rendering this page
@@ -38,7 +38,13 @@ class MemoryMeasurement(page_measurement.PageMeasurement):
# pages.
options.AppendExtraBrowserArg('--disable-histogram-customizer')
options.AppendExtraBrowserArg('--memory-metrics')
- options.AppendExtraBrowserArg('--reduce-security-for-dom-automation-tests')
+ options.AppendExtraBrowserArg(
+ '--reduce-security-for-stats-collection-tests')
+
+ # Old commandline flags used for reference builds.
+ options.AppendExtraBrowserArg('--dom-automation')
+ options.AppendExtraBrowserArg(
+ '--reduce-security-for-dom-automation-tests')
def CanRunForPage(self, page):
return hasattr(page, 'stress_memory')

Powered by Google App Engine
This is Rietveld 408576698