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
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
)
24 return 'new_tab.new_tab_page'
26 # TODO(beaudoin): Define ValueCanBeAddedPredicate to filter out things we