Add support for escaped target names in isolate driver (4th try)
[chromium-blink-merge.git] / tools / perf / benchmarks / new_tab.py
blob2071c3880a523bbc02fddc93bcb74174eed56e23
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 from core import perf_benchmark
7 from telemetry import benchmark
8 from telemetry.web_perf import timeline_based_measurement
10 import page_sets
13 @benchmark.Disabled('android')
14 class NewTabPage(perf_benchmark.PerfBenchmark):
15 """Timeline based measurement benchmark for the New Tab Page."""
16 page_set = page_sets.NewTabPagePageSet
18 def CreateTimelineBasedMeasurementOptions(self):
19 return timeline_based_measurement.Options(
20 overhead_level=timeline_based_measurement.MINIMAL_OVERHEAD_LEVEL)
22 @classmethod
23 def Name(cls):
24 return 'new_tab.new_tab_page'
26 # TODO(beaudoin): Define ValueCanBeAddedPredicate to filter out things we
27 # don't care for.