| Index: tools/perf/benchmarks/thread_times.py
|
| diff --git a/tools/perf/benchmarks/thread_times.py b/tools/perf/benchmarks/thread_times.py
|
| index afd424650dfcd9b805715efdcd950fdab116c888..dc87920bebd321b2229f0a324976c80ec659ab8f 100644
|
| --- a/tools/perf/benchmarks/thread_times.py
|
| +++ b/tools/perf/benchmarks/thread_times.py
|
| @@ -7,20 +7,12 @@
|
| import page_sets
|
| from telemetry import benchmark
|
|
|
| -class _ThreadTimes(benchmark.Benchmark):
|
| - @classmethod
|
| - def AddBenchmarkCommandLineArgs(cls, parser):
|
| - parser.add_option('--report-silk-details', action='store_true',
|
| - help='Report details relevant to silk.')
|
| -
|
| - def CreatePageTest(self, options):
|
| - return thread_times.ThreadTimes(options.report_silk_details)
|
| -
|
|
|
| @benchmark.Enabled('android')
|
| -class ThreadTimesKeySilkCases(_ThreadTimes):
|
| +class ThreadTimesKeySilkCases(benchmark.Benchmark):
|
| """Measures timeline metrics while performing smoothness action on key silk
|
| cases."""
|
| + test = thread_times.ThreadTimes
|
| page_set = page_sets.KeySilkCasesPageSet
|
|
|
|
|
| @@ -33,32 +25,36 @@
|
|
|
|
|
| @benchmark.Enabled('android')
|
| -class ThreadTimesFastPathMobileSites(_ThreadTimes):
|
| +class ThreadTimesFastPathMobileSites(benchmark.Benchmark):
|
| """Measures timeline metrics while performing smoothness action on
|
| key mobile sites labeled with fast-path tag.
|
| http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
|
| + test = thread_times.ThreadTimes
|
| page_set = page_sets.KeyMobileSitesPageSet
|
| options = {'page_label_filter' : 'fastpath'}
|
|
|
|
|
| @benchmark.Enabled('android')
|
| -class ThreadTimesSimpleMobileSites(_ThreadTimes):
|
| +class ThreadTimesSimpleMobileSites(benchmark.Benchmark):
|
| """Measures timeline metric using smoothness action on simple mobile sites
|
| http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
|
| + test = thread_times.ThreadTimes
|
| page_set = page_sets.SimpleMobileSitesPageSet
|
|
|
|
|
| -class ThreadTimesCompositorCases(_ThreadTimes):
|
| +class ThreadTimesCompositorCases(benchmark.Benchmark):
|
| """Measures timeline metrics while performing smoothness action on
|
| tough compositor cases, using software rasterization.
|
|
|
| http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
|
| + test = thread_times.ThreadTimes
|
| page_set = page_sets.ToughCompositorCasesPageSet
|
| def CustomizeBrowserOptions(self, options):
|
| silk_flags.CustomizeBrowserOptionsForSoftwareRasterization(options)
|
|
|
| @benchmark.Enabled('android')
|
| -class ThreadTimesPolymer(_ThreadTimes):
|
| +class ThreadTimesPolymer(benchmark.Benchmark):
|
| """Measures timeline metrics while performing smoothness action on
|
| Polymer cases."""
|
| + test = thread_times.ThreadTimes
|
| page_set = page_sets.PolymerPageSet
|
|
|