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

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

Issue 930333002: [telemetry] Add new measurement that counts number of GCs needed to free V8 context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bucket value getter Created 5 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 | tools/perf/measurements/v8_detached_context_age_in_gc.py » ('j') | 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 import page_sets 5 import page_sets
6 from measurements import v8_detached_context_age_in_gc
6 from measurements import v8_gc_times 7 from measurements import v8_gc_times
7 from telemetry import benchmark 8 from telemetry import benchmark
8 9
9 10
10 @benchmark.Disabled('win') # crbug.com/416502 11 @benchmark.Disabled('win') # crbug.com/416502
11 class V8GarbageCollectionCases(benchmark.Benchmark): 12 class V8GarbageCollectionCases(benchmark.Benchmark):
12 """Measure V8 GC metrics on the garbage collection cases.""" 13 """Measure V8 GC metrics on the garbage collection cases."""
13 test = v8_gc_times.V8GCTimes 14 test = v8_gc_times.V8GCTimes
14 page_set = page_sets.GarbageCollectionCasesPageSet 15 page_set = page_sets.GarbageCollectionCasesPageSet
15 16
(...skipping 19 matching lines...) Expand all
35 class V8KeyMobileSites(benchmark.Benchmark): 36 class V8KeyMobileSites(benchmark.Benchmark):
36 """Measures V8 GC metrics on the while scrolling down key mobile sites. 37 """Measures V8 GC metrics on the while scrolling down key mobile sites.
37 38
38 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 39 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
39 test = v8_gc_times.V8GCTimes 40 test = v8_gc_times.V8GCTimes
40 page_set = page_sets.KeyMobileSitesSmoothPageSet 41 page_set = page_sets.KeyMobileSitesSmoothPageSet
41 42
42 @classmethod 43 @classmethod
43 def Name(cls): 44 def Name(cls):
44 return 'v8.key_mobile_sites_smooth' 45 return 'v8.key_mobile_sites_smooth'
46
47 class V8DetachedContextAgeInGC(benchmark.Benchmark):
48 """Measures the number of GCs needed to collect a detached context.
49
50 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
51 test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC
52 page_set = page_sets.PageReloadCasesPageSet
53
54 @classmethod
55 def Name(cls):
56 return 'v8.detached_context_age_in_gc'
OLDNEW
« no previous file with comments | « no previous file | tools/perf/measurements/v8_detached_context_age_in_gc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698