| Index: tools/perf/benchmarks/repaint.py
|
| diff --git a/tools/perf/benchmarks/repaint.py b/tools/perf/benchmarks/repaint.py
|
| index 2293c0446ab52eec351cd03b6263dd9957ffa2e1..e7e9b1caa10d1b728860fee15440e7464fa9edf7 100644
|
| --- a/tools/perf/benchmarks/repaint.py
|
| +++ b/tools/perf/benchmarks/repaint.py
|
| @@ -64,3 +64,37 @@ class RepaintGpuRasterizationKeyMobileSites(_Repaint):
|
| def Name(cls):
|
| return 'repaint.gpu_rasterization.key_mobile_sites_repaint'
|
|
|
| +
|
| +@benchmark.Disabled
|
| +class RepaintCT(_Repaint):
|
| + """Measures repaint performance for Cluster Telemetry."""
|
| +
|
| + @classmethod
|
| + def Name(cls):
|
| + return 'repaint_ct'
|
| +
|
| + @classmethod
|
| + def AddBenchmarkCommandLineArgs(cls, parser):
|
| + _Repaint.AddBenchmarkCommandLineArgs(parser)
|
| + parser.add_option('--user-agent', action='store', type='string',
|
| + default=None, help='Options are mobile and desktop.')
|
| + parser.add_option('--archive-data-file', action='store', type='string',
|
| + default=None,
|
| + help='The location of the WPR JSON archive file.')
|
| + parser.add_option('--urls-list', action='store', type='string',
|
| + default=None,
|
| + help='This is a comma separated list of urls. '
|
| + 'Eg: http://www.google.com,http://www.gmail.com')
|
| +
|
| + @classmethod
|
| + def ProcessCommandLineArgs(cls, parser, args):
|
| + if not args.user_agent:
|
| + parser.error('Please specify --user_agent.')
|
| + if not args.archive_data_file:
|
| + parser.error('Please specify --archive_data_file.')
|
| + if not args.urls_list:
|
| + parser.error('Please specify --urls_list.')
|
| +
|
| + def CreateStorySet(self, options):
|
| + return page_sets.CTPageSet(
|
| + options.urls_list, options.user_agent, options.archive_data_file)
|
|
|