Chromium Code Reviews| Index: tools/perf/benchmarks/system_health.py |
| diff --git a/tools/perf/benchmarks/system_health.py b/tools/perf/benchmarks/system_health.py |
| index 598ff82909401a4a9cc4b2a624cb84567c069a48..9997a946b39f86aa1f4100a5908d7e5b04c9dfb2 100644 |
| --- a/tools/perf/benchmarks/system_health.py |
| +++ b/tools/perf/benchmarks/system_health.py |
| @@ -38,8 +38,10 @@ class SystemHealthTop25(_SystemHealthBenchmark): |
| def Name(cls): |
| return 'system_health.top25' |
| + |
| @benchmark.Disabled('android') # crbug.com/601953 |
| @benchmark.Disabled('all') # crbug.com/613050 |
| + |
| class SystemHealthKeyMobileSites(_SystemHealthBenchmark): |
| page_set = page_sets.KeyMobileSitesPageSet |
| @@ -73,6 +75,24 @@ class _MemorySystemHealthBenchmark(perf_benchmark.PerfBenchmark): |
| def Name(cls): |
| return 'system_health.memory_%s' % cls.page_set.PLATFORM |
| + |
| +@benchmark.Enabled('android') |
| +class WebviewStartupSystemHealthBenchmark(_SystemHealthBenchmark): |
| + """Chrome Webview Startup Time system health Benchmark. """ |
|
charliea (OOO until 10-5)
2016/06/06 19:52:53
nit: system health should be capitalized (like abo
charliea (OOO until 10-5)
2016/06/06 19:52:53
nit: I think that we want to add more context to t
charliea (OOO until 10-5)
2016/06/06 19:52:53
nit: delete trailing space
alexandermont
2016/06/06 23:30:16
Done
|
| + page_set = page_sets.BlankPageSet |
| + def CreateTimelineBasedMeasurementOptions(self): |
| + options = timeline_based_measurement.Options( |
| + tracing_category_filter.TracingCategoryFilter()) |
| + options.SetTimelineBasedMetric('webviewStartupMetric') |
| + options.config.enable_atrace_trace = True |
| + options.config.enable_chrome_trace = False |
| + options.config.atrace_app_name = 'org.chromium.webview_shell' |
| + return options |
| + |
| + @classmethod |
| + def Name(cls): |
| + return 'system_health.webview_startup' |
| + |
| # https://github.com/catapult-project/catapult/issues/2340 |
| @benchmark.Disabled('all') |
| class DesktopMemorySystemHealth(_MemorySystemHealthBenchmark): |