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

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

Issue 1104053006: [Storage] Blob Storage perf tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Whoops, forgot timeline metric Created 5 years, 7 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
« no previous file with comments | « no previous file | tools/perf/page_sets/blob/blob-workshop.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 from telemetry import benchmark 4 from telemetry import benchmark
5 from telemetry.core.platform import tracing_category_filter
5 from telemetry.web_perf import timeline_based_measurement 6 from telemetry.web_perf import timeline_based_measurement
6 7
7 import page_sets 8 import page_sets
8 9
10 TOPLEVEL_CATEGORY = 'Blob'
9 11
10 @benchmark.Disabled('android') 12 class BlobStorage(benchmark.Benchmark):
11 class NewTabPage(benchmark.Benchmark): 13 """Timeline based measurement benchmark for Blob Storage."""
12 """Timeline based measurement benchmark for the New Tab Page.""" 14 page_set = page_sets.BlobWorkshopPageSet
13 page_set = page_sets.NewTabPagePageSet
14 15
15 def CreateTimelineBasedMeasurementOptions(self): 16 def CreateTimelineBasedMeasurementOptions(self):
17 cat_filter = tracing_category_filter.TracingCategoryFilter(
18 TOPLEVEL_CATEGORY)
nednguyen 2015/05/07 10:51:05 My guess is this category filter confused telemetr
16 return timeline_based_measurement.Options( 19 return timeline_based_measurement.Options(
17 overhead_level=timeline_based_measurement.MINIMAL_OVERHEAD_LEVEL) 20 overhead_level=cat_filter)
18 21
19 @classmethod 22 @classmethod
20 def Name(cls): 23 def Name(cls):
21 return 'new_tab.new_tab_page' 24 return 'blob_storage.blob_storage'
22
23 # TODO(beaudoin): Define ValueCanBeAddedPredicate to filter out things we
24 # don't care for.
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/blob/blob-workshop.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698