OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import os | 5 import os |
6 | 6 |
7 import page_sets | |
8 from benchmarks import blink_perf | |
9 from benchmarks import silk_flags | |
10 from measurements import oilpan_gc_times | |
11 from telemetry import benchmark | 7 from telemetry import benchmark |
12 from telemetry.core import util | 8 from telemetry.core import util |
13 from telemetry import page | 9 from telemetry import page |
14 | 10 |
| 11 from benchmarks import blink_perf |
| 12 from benchmarks import silk_flags |
| 13 from measurements import oilpan_gc_times |
| 14 import page_sets |
| 15 |
15 | 16 |
16 class OilpanGCTimesBlinkPerfAnimation(benchmark.Benchmark): | 17 class OilpanGCTimesBlinkPerfAnimation(benchmark.Benchmark): |
17 tag = 'blink_perf_animation' | 18 tag = 'blink_perf_animation' |
18 test = oilpan_gc_times.OilpanGCTimesForBlinkPerf | 19 test = oilpan_gc_times.OilpanGCTimesForBlinkPerf |
19 | 20 |
20 @classmethod | 21 @classmethod |
21 def Name(cls): | 22 def Name(cls): |
22 return 'oilpan_gc_times.blink_perf_animation' | 23 return 'oilpan_gc_times.blink_perf_animation' |
23 | 24 |
24 def CreatePageSet(self, options): | 25 def CreatePageSet(self, options): |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 class OilpanGCTimesSyncScrollKeyMobileSites(benchmark.Benchmark): | 64 class OilpanGCTimesSyncScrollKeyMobileSites(benchmark.Benchmark): |
64 tag = 'sync_scroll' | 65 tag = 'sync_scroll' |
65 test = oilpan_gc_times.OilpanGCTimesForSmoothness | 66 test = oilpan_gc_times.OilpanGCTimesForSmoothness |
66 page_set = page_sets.KeyMobileSitesSmoothPageSet | 67 page_set = page_sets.KeyMobileSitesSmoothPageSet |
67 def CustomizeBrowserOptions(self, options): | 68 def CustomizeBrowserOptions(self, options): |
68 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) | 69 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) |
69 @classmethod | 70 @classmethod |
70 def Name(cls): | 71 def Name(cls): |
71 return 'oilpan_gc_times.sync_scroll.key_mobile_sites_smooth' | 72 return 'oilpan_gc_times.sync_scroll.key_mobile_sites_smooth' |
72 | 73 |
OLD | NEW |