summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
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')