Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: tools/perf/benchmarks/v8.py

Issue 1638063002: Disable v8.infinite_scrolling on android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 from core import perf_benchmark 5 from core import perf_benchmark
6 6
7 from measurements import v8_detached_context_age_in_gc 7 from measurements import v8_detached_context_age_in_gc
8 from measurements import v8_gc_times 8 from measurements import v8_gc_times
9 import page_sets 9 import page_sets
10 from telemetry import benchmark 10 from telemetry import benchmark
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC 46 test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC
47 page_set = page_sets.PageReloadCasesPageSet 47 page_set = page_sets.PageReloadCasesPageSet
48 48
49 @classmethod 49 @classmethod
50 def Name(cls): 50 def Name(cls):
51 return 'v8.detached_context_age_in_gc' 51 return 'v8.detached_context_age_in_gc'
52 52
53 53
54 # Disabled on reference builds because they don't support the new 54 # Disabled on reference builds because they don't support the new
55 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. 55 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022.
56 @benchmark.Disabled('reference') 56 @benchmark.Disabled('reference', 'android') # crbug.com/579546
57 class V8InfiniteScroll(perf_benchmark.PerfBenchmark): 57 class V8InfiniteScroll(perf_benchmark.PerfBenchmark):
58 """Measures V8 GC metrics and memory usage while scrolling the top web pages. 58 """Measures V8 GC metrics and memory usage while scrolling the top web pages.
59 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 59 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
60 60
61 def SetExtraBrowserOptions(self, options): 61 def SetExtraBrowserOptions(self, options):
62 options.AppendExtraBrowserArgs([ 62 options.AppendExtraBrowserArgs([
63 # TODO(perezju): Temporary workaround to disable periodic memory dumps. 63 # TODO(perezju): Temporary workaround to disable periodic memory dumps.
64 # See: http://crbug.com/513692 64 # See: http://crbug.com/513692
65 '--enable-memory-benchmarking', 65 '--enable-memory-benchmarking',
66 # TODO(ssid): Remove this flag after fixing http://crbug.com/461788. 66 # TODO(ssid): Remove this flag after fixing http://crbug.com/461788.
(...skipping 28 matching lines...) Expand all
95 @classmethod 95 @classmethod
96 def ValueCanBeAddedPredicate(cls, value, is_first_result): 96 def ValueCanBeAddedPredicate(cls, value, is_first_result):
97 if value.tir_label in ['Begin', 'End']: 97 if value.tir_label in ['Begin', 'End']:
98 return value.name.startswith('memory_') and 'v8_renderer' in value.name 98 return value.name.startswith('memory_') and 'v8_renderer' in value.name
99 else: 99 else:
100 return value.tir_label == 'Scrolling' 100 return value.tir_label == 'Scrolling'
101 101
102 @classmethod 102 @classmethod
103 def ShouldTearDownStateAfterEachStoryRun(cls): 103 def ShouldTearDownStateAfterEachStoryRun(cls):
104 return True 104 return True
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698