cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / tools / perf / benchmarks / v8.py
blobaec4a845e50e65893ba5bd14bb81c2966b512cd0
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 from core import perf_benchmark
7 from measurements import v8_detached_context_age_in_gc
8 from measurements import v8_gc_times
9 import page_sets
10 from telemetry import benchmark
13 # Disabled on Win due to crbug.com/416502.
14 # Disabled on reference due to crbug.com/507836.
15 # Disabled on linux due to crbug.com/527425.
16 @benchmark.Disabled('win', 'reference', 'linux')
17 class V8Top25(perf_benchmark.PerfBenchmark):
18 """Measures V8 GC metrics on the while scrolling down the top 25 web pages.
20 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
21 test = v8_gc_times.V8GCTimes
22 page_set = page_sets.Top25SmoothPageSet
24 @classmethod
25 def Name(cls):
26 return 'v8.top_25_smooth'
28 @benchmark.Enabled('android')
29 class V8KeyMobileSites(perf_benchmark.PerfBenchmark):
30 """Measures V8 GC metrics on the while scrolling down key mobile sites.
32 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
33 test = v8_gc_times.V8GCTimes
34 page_set = page_sets.KeyMobileSitesSmoothPageSet
36 @classmethod
37 def Name(cls):
38 return 'v8.key_mobile_sites_smooth'
40 class V8DetachedContextAgeInGC(perf_benchmark.PerfBenchmark):
41 """Measures the number of GCs needed to collect a detached context.
43 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
44 test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC
45 page_set = page_sets.PageReloadCasesPageSet
47 @classmethod
48 def Name(cls):
49 return 'v8.detached_context_age_in_gc'