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

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

Issue 1029263003: [telemetry] Sort imports in Telemetry and its dependents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Manual adjustments in tools/perf Created 5 years, 9 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
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 from telemetry import benchmark
6
6 from measurements import v8_detached_context_age_in_gc 7 from measurements import v8_detached_context_age_in_gc
7 from measurements import v8_gc_times 8 from measurements import v8_gc_times
8 from telemetry import benchmark 9 import page_sets
9 10
10 11
11 @benchmark.Disabled('win') # crbug.com/416502 12 @benchmark.Disabled('win') # crbug.com/416502
12 class V8GarbageCollectionCases(benchmark.Benchmark): 13 class V8GarbageCollectionCases(benchmark.Benchmark):
13 """Measure V8 GC metrics on the garbage collection cases.""" 14 """Measure V8 GC metrics on the garbage collection cases."""
14 test = v8_gc_times.V8GCTimes 15 test = v8_gc_times.V8GCTimes
15 page_set = page_sets.GarbageCollectionCasesPageSet 16 page_set = page_sets.GarbageCollectionCasesPageSet
16 17
17 @classmethod 18 @classmethod
18 def Name(cls): 19 def Name(cls):
(...skipping 29 matching lines...) Expand all
48 class V8DetachedContextAgeInGC(benchmark.Benchmark): 49 class V8DetachedContextAgeInGC(benchmark.Benchmark):
49 """Measures the number of GCs needed to collect a detached context. 50 """Measures the number of GCs needed to collect a detached context.
50 51
51 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 52 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
52 test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC 53 test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC
53 page_set = page_sets.PageReloadCasesPageSet 54 page_set = page_sets.PageReloadCasesPageSet
54 55
55 @classmethod 56 @classmethod
56 def Name(cls): 57 def Name(cls):
57 return 'v8.detached_context_age_in_gc' 58 return 'v8.detached_context_age_in_gc'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698