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

Side by Side Diff: tools/perf/benchmarks/gpu_times.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 | « tools/perf/benchmarks/blob_storage.py ('k') | tools/perf/benchmarks/memory_health_plan.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 4
5 from core import perf_benchmark 5 from core import perf_benchmark
6 6
7 from benchmarks import silk_flags 7 from benchmarks import silk_flags
8 8
9 from telemetry import benchmark 9 from telemetry import benchmark
10 from telemetry.core.platform import tracing_category_filter 10 from telemetry.timeline import tracing_category_filter
11 from telemetry.web_perf.metrics import gpu_timeline 11 from telemetry.web_perf.metrics import gpu_timeline
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 TOPLEVEL_CATEGORIES = ['disabled-by-default-gpu.device', 16 TOPLEVEL_CATEGORIES = ['disabled-by-default-gpu.device',
17 'disabled-by-default-gpu.service'] 17 'disabled-by-default-gpu.service']
18 18
19 19
20 class _GPUTimes(perf_benchmark.PerfBenchmark): 20 class _GPUTimes(perf_benchmark.PerfBenchmark):
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 class GPUTimesGpuRasterizationTop25Sites(_GPUTimes): 64 class GPUTimesGpuRasterizationTop25Sites(_GPUTimes):
65 """Measures GPU timeline metric for the top 25 sites with GPU rasterization. 65 """Measures GPU timeline metric for the top 25 sites with GPU rasterization.
66 """ 66 """
67 page_set = page_sets.Top25SmoothPageSet 67 page_set = page_sets.Top25SmoothPageSet
68 def SetExtraBrowserOptions(self, options): 68 def SetExtraBrowserOptions(self, options):
69 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) 69 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
70 70
71 @classmethod 71 @classmethod
72 def Name(cls): 72 def Name(cls):
73 return 'gpu_times.gpu_rasterization.top_25_smooth' 73 return 'gpu_times.gpu_rasterization.top_25_smooth'
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/blob_storage.py ('k') | tools/perf/benchmarks/memory_health_plan.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698