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

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

Issue 1231643002: [Startup Tracing][Telemetry] Move tracing_options and tracing_category_filter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « content/test/gpu/gpu_tests/trace_test.py ('k') | tools/perf/benchmarks/gpu_times.py » ('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 # Copyright 2015 The Chromium Authors. All rights reserved. 4 # Copyright 2015 The Chromium Authors. All rights reserved.
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 from core import perf_benchmark 8 from core import perf_benchmark
9 9
10 from telemetry import benchmark 10 from telemetry import benchmark
11 from telemetry.core.platform import tracing_category_filter 11 from telemetry.timeline import tracing_category_filter
12 from telemetry.web_perf import timeline_based_measurement 12 from telemetry.web_perf import timeline_based_measurement
13 13
14 import page_sets 14 import page_sets
15 15
16 16
17 BLOB_CATEGORY = 'Blob' 17 BLOB_CATEGORY = 'Blob'
18 TIMELINE_REQUIRED_CATEGORY = 'blink.console' 18 TIMELINE_REQUIRED_CATEGORY = 'blink.console'
19 19
20 20
21 @benchmark.Disabled('reference', # http://crbug.com/496155 21 @benchmark.Disabled('reference', # http://crbug.com/496155
(...skipping 14 matching lines...) Expand all
36 @classmethod 36 @classmethod
37 def Name(cls): 37 def Name(cls):
38 return 'blob_storage.blob_storage' 38 return 'blob_storage.blob_storage'
39 39
40 @classmethod 40 @classmethod
41 def ValueCanBeAddedPredicate(cls, value, is_first_result): 41 def ValueCanBeAddedPredicate(cls, value, is_first_result):
42 if ('blob-writes' not in value.name and 42 if ('blob-writes' not in value.name and
43 'blob-reads' not in value.name): 43 'blob-reads' not in value.name):
44 return False 44 return False
45 return value.values != None 45 return value.values != None
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/trace_test.py ('k') | tools/perf/benchmarks/gpu_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698