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

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

Issue 1781603002: [telemetry] Add TodoMVC examples based test for V8 to telemetry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 9 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/page_sets/data/todomvc.json » ('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 1215877042196f47ab5b722a0ba5c80ab71325e0..aebdf646ae594c615929f0066a691961d415d370 100644
--- a/tools/perf/benchmarks/v8.py
+++ b/tools/perf/benchmarks/v8.py
@@ -118,3 +118,22 @@ class V8InfiniteScroll(perf_benchmark.PerfBenchmark):
@classmethod
def ShouldTearDownStateAfterEachStoryRun(cls):
return True
+
+
+class V8TodoMVC(perf_benchmark.PerfBenchmark):
+ """Measures V8 Execution metrics on the TodoMVC examples."""
+ page_set = page_sets.TodoMVCPageSet
+
+ def CreateTimelineBasedMeasurementOptions(self):
+ category_filter = tracing_category_filter.TracingCategoryFilter('v8')
+ options = timeline_based_measurement.Options(category_filter)
+ options.SetLegacyTimelineBasedMetrics([v8_execution.V8ExecutionMetric()])
+ return options
+
+ @classmethod
+ def Name(cls):
+ return 'v8.todomvc'
+
+ @classmethod
+ def ShouldTearDownStateAfterEachStoryRun(cls):
+ return True
« no previous file with comments | « no previous file | tools/perf/page_sets/data/todomvc.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698