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

Unified Diff: tools/perf/benchmarks/memory.py

Issue 2900223002: Turn on heap profiling for memory.desktop benchmark (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/memory.py
diff --git a/tools/perf/benchmarks/memory.py b/tools/perf/benchmarks/memory.py
index 8d3d76c1db1528c809b0bf1773a55c84a3ccb080..889e0542b397ed8f9d3613fddc3067eee2673544 100644
--- a/tools/perf/benchmarks/memory.py
+++ b/tools/perf/benchmarks/memory.py
@@ -62,6 +62,13 @@ class MemoryBenchmarkTrivialSitesDesktop(_MemoryInfra):
return page_sets.TrivialSitesStorySet(wait_in_seconds=0,
measure_memory=True)
+ def SetExtraBrowserOptions(self, options):
+ super(MemoryBenchmarkTrivialSitesDesktop, self).SetExtraBrowserOptions(
+ options)
+ options.AppendExtraBrowserArgs([
+ '--enable-heap-profiling=native',
+ ])
+
@classmethod
def Name(cls):
return 'memory.desktop'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698