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

Side by Side Diff: tools/perf/benchmarks/new_tab.py

Issue 1782123002: [Telemetry] Remove new_tab benchmark & related page sets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update benchmark_smoke_unittest 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 from core import perf_benchmark
6
7 from telemetry import benchmark
8 from telemetry.web_perf import timeline_based_measurement
9
10 import page_sets
11
12
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
17
18 def CreateTimelineBasedMeasurementOptions(self):
19 return timeline_based_measurement.Options(
20 overhead_level=timeline_based_measurement.MINIMAL_OVERHEAD_LEVEL)
21
22 @classmethod
23 def Name(cls):
24 return 'new_tab.new_tab_page'
25
26 # TODO(beaudoin): Define ValueCanBeAddedPredicate to filter out things we
27 # don't care for.
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/benchmark_smoke_unittest.py ('k') | tools/perf/page_sets/data/new_tab_page_page.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698