[Android WebViewShell] Add inclusion test for webview exposed stable interfaces.
[chromium-blink-merge.git] / tools / perf / benchmarks / oilpan_gc_times.py
blob2ebb0145554195ffa21bf02dc62aa2a65768d594
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 class OilpanGCTimesSmoothnessAnimation(perf_benchmark.PerfBenchmark):
31 test = oilpan_gc_times.OilpanGCTimesForSmoothness
32 page_set = page_sets.ToughAnimationCasesPageSet
34 @classmethod
35 def Name(cls):
36 return 'oilpan_gc_times.tough_animation_cases'
39 @benchmark.Enabled('android')
40 class OilpanGCTimesKeySilkCases(perf_benchmark.PerfBenchmark):
41 test = oilpan_gc_times.OilpanGCTimesForSmoothness
42 page_set = page_sets.KeySilkCasesPageSet
44 @classmethod
45 def Name(cls):
46 return 'oilpan_gc_times.key_silk_cases'
49 @benchmark.Enabled('android')
50 class OilpanGCTimesSyncScrollKeyMobileSites(perf_benchmark.PerfBenchmark):
51 tag = 'sync_scroll'
52 test = oilpan_gc_times.OilpanGCTimesForSmoothness
53 page_set = page_sets.KeyMobileSitesSmoothPageSet
54 def SetExtraBrowserOptions(self, options):
55 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options)
56 @classmethod
57 def Name(cls):
58 return 'oilpan_gc_times.sync_scroll.key_mobile_sites_smooth'