OLD | NEW |
(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 |
OLD | NEW |