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

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

Issue 2056323002: [tools/perf] Tear down state between webview_startup stories (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 re 5 import re
6 6
7 from core import perf_benchmark 7 from core import perf_benchmark
8 from telemetry import benchmark 8 from telemetry import benchmark
9 from telemetry.timeline import tracing_category_filter 9 from telemetry.timeline import tracing_category_filter
10 from telemetry.web_perf import timeline_based_measurement 10 from telemetry.web_perf import timeline_based_measurement
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 def CreateTimelineBasedMeasurementOptions(self): 123 def CreateTimelineBasedMeasurementOptions(self):
124 options = timeline_based_measurement.Options() 124 options = timeline_based_measurement.Options()
125 options.SetTimelineBasedMetric('webviewStartupMetric') 125 options.SetTimelineBasedMetric('webviewStartupMetric')
126 options.config.enable_atrace_trace = True 126 options.config.enable_atrace_trace = True
127 options.config.enable_chrome_trace = False 127 options.config.enable_chrome_trace = False
128 options.config.atrace_config.app_name = 'org.chromium.webview_shell' 128 options.config.atrace_config.app_name = 'org.chromium.webview_shell'
129 return options 129 return options
130 130
131 @classmethod 131 @classmethod
132 def ShouldTearDownStateAfterEachStoryRun(cls):
133 return True
134
135 @classmethod
132 def Name(cls): 136 def Name(cls):
133 return 'system_health.webview_startup' 137 return 'system_health.webview_startup'
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