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

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

Issue 854833003: Added GPU performance metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed gpu_device check in gpu_times_unittest Created 5 years, 11 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/measurements/gpu_times.py » ('j') | tools/perf/metrics/gpu_timeline.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 from benchmarks import silk_flags
5 from measurements import gpu_times
6 import page_sets
7 from telemetry import benchmark
8
9
10 class _GPUTimes(benchmark.Benchmark):
11 def CreatePageTest(self, options):
12 return gpu_times.GPUTimes()
13
14
15 @benchmark.Enabled('android')
16 class GPUTimesKeyMobileSites(_GPUTimes):
17 """Measures GPU timeline metric on key mobile sites."""
18 page_set = page_sets.KeyMobileSitesSmoothPageSet
19
20
21 class GPUTimesTop25Sites(_GPUTimes):
22 """Measures GPU timeline metric for the top 25 sites."""
23 page_set = page_sets.Top25SmoothPageSet
OLDNEW
« no previous file with comments | « no previous file | tools/perf/measurements/gpu_times.py » ('j') | tools/perf/metrics/gpu_timeline.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698