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

Side by Side Diff: tools/perf/measurements/oilpan_gc_times.py

Issue 964283002: [Oilpan] Add --js-flags=--expose-gc flag in test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« 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 import os 5 import os
6 6
7 from measurements import smoothness_controller 7 from measurements import smoothness_controller
8 from measurements import timeline_controller 8 from measurements import timeline_controller
9 from telemetry.core.platform import tracing_category_filter 9 from telemetry.core.platform import tracing_category_filter
10 from telemetry.core.platform import tracing_options 10 from telemetry.core.platform import tracing_options
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 169
170 170
171 class OilpanGCTimesForInternals(_OilpanGCTimesBase): 171 class OilpanGCTimesForInternals(_OilpanGCTimesBase):
172 def __init__(self): 172 def __init__(self):
173 super(OilpanGCTimesForInternals, self).__init__() 173 super(OilpanGCTimesForInternals, self).__init__()
174 174
175 @classmethod 175 @classmethod
176 def CustomizeBrowserOptions(cls, options): 176 def CustomizeBrowserOptions(cls, options):
177 # 'expose-internals-for-testing' can be enabled on content shell. 177 # 'expose-internals-for-testing' can be enabled on content shell.
178 assert 'content-shell' in options.browser_type 178 assert 'content-shell' in options.browser_type
179 options.AppendExtraBrowserArgs('--expose-internals-for-testing') 179 options.AppendExtraBrowserArgs(['--expose-internals-for-testing',
180 '--js-flags=--expose-gc'])
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