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

Unified Diff: trunk/src/tools/perf/perf_tools/startup_measurement.py

Issue 16160006: Revert 202620 "Collect tab timing information for use in telemen..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
« no previous file with comments | « trunk/src/tools/perf/perf_tools/page_cycler.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/tools/perf/perf_tools/startup_measurement.py
===================================================================
--- trunk/src/tools/perf/perf_tools/startup_measurement.py (revision 202661)
+++ trunk/src/tools/perf/perf_tools/startup_measurement.py (working copy)
@@ -19,12 +19,11 @@
discard_first_result=True)
def CustomizeBrowserOptions(self, options):
- options.AppendExtraBrowserArg('--enable-stats-collection-bindings')
- options.AppendExtraBrowserArg(
- '--reduce-security-for-stats-collection-tests')
+ options.AppendExtraBrowserArg('--dom-automation')
+ options.AppendExtraBrowserArg('--reduce-security-for-dom-automation-tests')
def MeasurePage(self, page, tab, results):
- get_histogram_js = "statsCollectionController.getBrowserHistogram(\"%s\")"
+ get_histogram_js = "domAutomationController.getBrowserHistogram(\"%s\")"
for display_name, histogram_name in self.HISTOGRAMS_TO_RECORD.iteritems():
result = tab.EvaluateJavaScript(get_histogram_js % histogram_name)
« no previous file with comments | « trunk/src/tools/perf/perf_tools/page_cycler.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698