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

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

Issue 2623113003: [Benchmark] Add memory tests for Ignition+TurboFan (Closed)
Patch Set: Created 3 years, 11 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 | tools/perf/benchmarks/v8_browsing.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/v8.py
diff --git a/tools/perf/benchmarks/v8.py b/tools/perf/benchmarks/v8.py
index 93f27aec4f743e051b3972e94f4789b3aeb16c7e..bd8acf5976fbf27daab4591036aadf4635b718ce 100644
--- a/tools/perf/benchmarks/v8.py
+++ b/tools/perf/benchmarks/v8.py
@@ -151,6 +151,22 @@ class V8TodoMVCIgnition(V8TodoMVC):
return 'v8.todomvc-ignition'
+class V8TodoMVCTurbo(V8TodoMVC):
+ """Measures V8 Execution metrics on the TodoMVC examples
+ using Ignition+TurboFan."""
+
+ page_set = page_sets.TodoMVCPageSet
+
+ def SetExtraBrowserOptions(self, options):
+ super(V8TodoMVCTurbo, self).SetExtraBrowserOptions(options)
+ v8_helper.EnableTurbo(options)
+
+ @classmethod
+ def Name(cls):
+ return 'v8.todomvc-turbo'
+
+
+
class V8InfiniteScroll(_InfiniteScrollBenchmark):
"""Measures V8 GC metrics and memory usage while scrolling the top web pages.
http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
@@ -174,6 +190,18 @@ class V8InfiniteScrollIgnition(V8InfiniteScroll):
return 'v8.infinite_scroll-ignition_tbmv2'
+class V8InfiniteScrollTurbo(V8InfiniteScroll):
+ """Measures V8 GC metrics using Ignition+TurboFan."""
+
+ def SetExtraBrowserOptions(self, options):
+ super(V8InfiniteScrollTurbo, self).SetExtraBrowserOptions(options)
+ v8_helper.EnableTurbo(options)
+
+ @classmethod
+ def Name(cls):
+ return 'v8.infinite_scroll-turbo_tbmv2'
+
+
@benchmark.Enabled('android')
class V8MobileInfiniteScroll(_InfiniteScrollBenchmark):
"""Measures V8 GC metrics and memory usage while scrolling the top mobile
« no previous file with comments | « no previous file | tools/perf/benchmarks/v8_browsing.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698