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 | 7 import page_sets |
8 from benchmarks import blink_perf | 8 from benchmarks import blink_perf |
9 from benchmarks import silk_flags | 9 from benchmarks import silk_flags |
10 from measurements import oilpan_gc_times | 10 from measurements import oilpan_gc_times |
11 from telemetry import benchmark | 11 from telemetry import benchmark |
12 from telemetry.core import util | 12 from telemetry.core import util |
13 from telemetry import page | 13 from telemetry import page |
14 | 14 |
15 | 15 |
16 class OilpanGCTimesBlinkPerfAnimation(benchmark.Benchmark): | 16 class OilpanGCTimesBlinkPerfAnimation(benchmark.Benchmark): |
17 tag = 'blink_perf_animation' | 17 tag = 'blink_perf_animation' |
18 test = oilpan_gc_times.OilpanGCTimesForBlinkPerf | 18 test = oilpan_gc_times.OilpanGCTimesForBlinkPerf |
19 | 19 |
20 def CreatePageSet(self, options): | 20 def CreatePageSet(self, options): |
21 path = os.path.join(blink_perf.BLINK_PERF_BASE_DIR, 'Animation') | 21 path = os.path.join(blink_perf.BLINK_PERF_BASE_DIR, 'Animation') |
22 return blink_perf.CreatePageSetFromPath(path, blink_perf.SKIPPED_FILE) | 22 return blink_perf.CreatePageSetFromPath(path, blink_perf.SKIPPED_FILE) |
23 | 23 |
24 | 24 |
25 @benchmark.Enabled('content-shell') | 25 @benchmark.Disabled |
26 class OilpanGCTimesBlinkPerfStress(benchmark.Benchmark): | 26 class OilpanGCTimesBlinkPerfStress(benchmark.Benchmark): |
27 tag = 'blink_perf_stress' | 27 tag = 'blink_perf_stress' |
28 test = oilpan_gc_times.OilpanGCTimesForInternals | 28 test = oilpan_gc_times.OilpanGCTimesForInternals |
29 | 29 |
30 def CreatePageSet(self, options): | 30 def CreatePageSet(self, options): |
31 path = os.path.join(blink_perf.BLINK_PERF_BASE_DIR, 'BlinkGC') | 31 path = os.path.join(blink_perf.BLINK_PERF_BASE_DIR, 'BlinkGC') |
32 return blink_perf.CreatePageSetFromPath(path, blink_perf.SKIPPED_FILE) | 32 return blink_perf.CreatePageSetFromPath(path, blink_perf.SKIPPED_FILE) |
33 | 33 |
34 | 34 |
| 35 @benchmark.Disabled |
35 class OilpanGCTimesSmoothnessAnimation(benchmark.Benchmark): | 36 class OilpanGCTimesSmoothnessAnimation(benchmark.Benchmark): |
36 test = oilpan_gc_times.OilpanGCTimesForSmoothness | 37 test = oilpan_gc_times.OilpanGCTimesForSmoothness |
37 page_set = page_sets.ToughAnimationCasesPageSet | 38 page_set = page_sets.ToughAnimationCasesPageSet |
38 | 39 |
39 | 40 |
40 @benchmark.Enabled('android') | 41 @benchmark.Disabled |
41 class OilpanGCTimesKeySilkCases(benchmark.Benchmark): | 42 class OilpanGCTimesKeySilkCases(benchmark.Benchmark): |
42 test = oilpan_gc_times.OilpanGCTimesForSmoothness | 43 test = oilpan_gc_times.OilpanGCTimesForSmoothness |
43 page_set = page_sets.KeySilkCasesPageSet | 44 page_set = page_sets.KeySilkCasesPageSet |
44 | 45 |
45 | 46 |
46 @benchmark.Enabled('android') | 47 @benchmark.Disabled |
47 class OilpanGCTimesSyncScrollKeyMobileSites(benchmark.Benchmark): | 48 class OilpanGCTimesSyncScrollKeyMobileSites(benchmark.Benchmark): |
48 tag = 'sync_scroll' | 49 tag = 'sync_scroll' |
49 test = oilpan_gc_times.OilpanGCTimesForSmoothness | 50 test = oilpan_gc_times.OilpanGCTimesForSmoothness |
50 page_set = page_sets.KeyMobileSitesSmoothPageSet | 51 page_set = page_sets.KeyMobileSitesSmoothPageSet |
51 def CustomizeBrowserOptions(self, options): | 52 def CustomizeBrowserOptions(self, options): |
52 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) | 53 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) |
OLD | NEW |