summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authormarja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-12 10:51:16 +0000
committermarja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-12 10:51:16 +0000
commitc98594f646d3bd557c9441a2763cd1e263316491 (patch)
treea37b646827e60451ade0602d1924a528df0f226f /tools/perf
parent6b6ca5d8cb7c87d74e89d792d0b7f7a5a2a59088 (diff)
downloadchromium_src-c98594f646d3bd557c9441a2763cd1e263316491.zip
chromium_src-c98594f646d3bd557c9441a2763cd1e263316491.tar.gz
chromium_src-c98594f646d3bd557c9441a2763cd1e263316491.tar.bz2
Telemetry: error messages & memory benchmark fix
Display better errors when clicking an element fails. Also fixes the histogram printing for the memory benchmark. 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 and no other pages. For this test, we need to disable histogram customizing, so that we get the same generic histograms produced for all pages. BUG=158323 NOTRY=true Review URL: https://codereview.chromium.org/11478048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172578 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/perf_tools/memory_benchmark.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/perf_tools/memory_benchmark.py b/tools/perf/perf_tools/memory_benchmark.py
index 5d101fc..1e63575 100644
--- a/tools/perf/perf_tools/memory_benchmark.py
+++ b/tools/perf/perf_tools/memory_benchmark.py
@@ -14,6 +14,13 @@ class MemoryBenchmark(multi_page_benchmark.MultiPageBenchmark):
def CustomizeBrowserOptions(self, options):
options.AppendExtraBrowserArg('--dom-automation')
+ # 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
+ # and no other pages. For this test, we need to disable histogram
+ # customizing, so that we get the same generic histograms produced for all
+ # pages.
+ options.AppendExtraBrowserArg('--disable-histogram-customizer')
def CanRunForPage(self, page):
return hasattr(page, 'stress_memory')