Chromium Code Reviews| 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 |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 31 def CreatePageSet(self, options): | 31 def CreatePageSet(self, options): |
| 32 path = os.path.join(blink_perf.BLINK_PERF_BASE_DIR, 'BlinkGC') | 32 path = os.path.join(blink_perf.BLINK_PERF_BASE_DIR, 'BlinkGC') |
| 33 return blink_perf.CreatePageSetFromPath(path, blink_perf.SKIPPED_FILE) | 33 return blink_perf.CreatePageSetFromPath(path, blink_perf.SKIPPED_FILE) |
| 34 | 34 |
| 35 | 35 |
| 36 class OilpanGCTimesSmoothnessAnimation(benchmark.Benchmark): | 36 class OilpanGCTimesSmoothnessAnimation(benchmark.Benchmark): |
| 37 test = oilpan_gc_times.OilpanGCTimesForSmoothness | 37 test = oilpan_gc_times.OilpanGCTimesForSmoothness |
| 38 page_set = page_sets.ToughAnimationCasesPageSet | 38 page_set = page_sets.ToughAnimationCasesPageSet |
| 39 | 39 |
| 40 | 40 |
| 41 # TODO(peria): Add more page sets. 'key_silk_cases' and | 41 @benchmark.Disabled |
|
Sami
2014/12/11 10:31:33
Why does this need to be disabled? Maybe we should
peria
2014/12/11 13:45:05
Hmm, two pages in this page set do not run well,
a
| |
| 42 # 'smoothness.sync_scroll.key_mobile_sites' are wanted for now. | 42 class OilpanGCTimesKeySilkCases(benchmark.Benchmark): |
| 43 test = oilpan_gc_times.OilpanGCTimesForSmoothness | |
| 44 page_set = page_sets.KeySilkCasesPageSet | |
| 45 | |
| 46 | |
| 47 @benchmark.Enabled('android') | |
| 48 class OilpanGCTimesSyncScrollKeyMobileSites(benchmark.Benchmark): | |
| 49 tag = 'sync_scroll' | |
| 50 test = oilpan_gc_times.OilpanGCTimesForSmoothness | |
| 51 page_set = page_sets.KeyMobileSitesPageSet | |
| 52 def CustomizeBrowserOptions(self, options): | |
| 53 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) | |
| OLD | NEW |