| 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
|
|
|