cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / tools / perf / benchmarks / oilpan_gc_times.py
blobc3f5b719abd9f6355c6fda65d9aa2034f6e95c51
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
3 # found in the LICENSE file.
5 import os
7 from core import perf_benchmark
9 from benchmarks import blink_perf
10 from benchmarks import silk_flags
11 from measurements import oilpan_gc_times
12 import page_sets
13 from telemetry import benchmark
16 @benchmark.Enabled('content-shell')
17 class OilpanGCTimesBlinkPerfStress(perf_benchmark.PerfBenchmark):
18 tag = 'blink_perf_stress'
19 test = oilpan_gc_times.OilpanGCTimesForInternals
21 @classmethod
22 def Name(cls):
23 return 'oilpan_gc_times.blink_perf_stress'
25 def CreateStorySet(self, options):
26 path = os.path.join(blink_perf.BLINK_PERF_BASE_DIR, 'BlinkGC')
27 return blink_perf.CreateStorySetFromPath(path, blink_perf.SKIPPED_FILE)
30 @benchmark.Disabled('xp') # crbug.com/527427
31 class OilpanGCTimesSmoothnessAnimation(perf_benchmark.PerfBenchmark):
32 test = oilpan_gc_times.OilpanGCTimesForSmoothness
33 page_set = page_sets.ToughAnimationCasesPageSet
35 @classmethod
36 def Name(cls):
37 return 'oilpan_gc_times.tough_animation_cases'
40 @benchmark.Enabled('android')
41 class OilpanGCTimesKeySilkCases(perf_benchmark.PerfBenchmark):
42 test = oilpan_gc_times.OilpanGCTimesForSmoothness
43 page_set = page_sets.KeySilkCasesPageSet
45 @classmethod
46 def Name(cls):
47 return 'oilpan_gc_times.key_silk_cases'
50 @benchmark.Enabled('android')
51 class OilpanGCTimesSyncScrollKeyMobileSites(perf_benchmark.PerfBenchmark):
52 tag = 'sync_scroll'
53 test = oilpan_gc_times.OilpanGCTimesForSmoothness
54 page_set = page_sets.KeyMobileSitesSmoothPageSet
55 def SetExtraBrowserOptions(self, options):
56 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options)
57 @classmethod
58 def Name(cls):
59 return 'oilpan_gc_times.sync_scroll.key_mobile_sites_smooth'