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

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

Issue 1217813005: [Telemetry] Modify CreatePageSet to CreateStorySet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Ethan's comments Created 5 years, 5 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 | « tools/perf/benchmarks/session_restore.py ('k') | tools/perf/benchmarks/spaceport.py » ('j') | 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 from core import perf_benchmark 5 from core import perf_benchmark
6 6
7 from telemetry import benchmark 7 from telemetry import benchmark
8 from telemetry.core import discover 8 from telemetry.core import discover
9 from telemetry.page import page_set 9 from telemetry.page import page_set
10 10
(...skipping 28 matching lines...) Expand all
39 if not args.skp_outdir: 39 if not args.skp_outdir:
40 parser.error('Please specify --skp-outdir') 40 parser.error('Please specify --skp-outdir')
41 41
42 @classmethod 42 @classmethod
43 def Name(cls): 43 def Name(cls):
44 return 'skpicture_printer' 44 return 'skpicture_printer'
45 45
46 def CreatePageTest(self, options): 46 def CreatePageTest(self, options):
47 return skpicture_printer.SkpicturePrinter(options.skp_outdir) 47 return skpicture_printer.SkpicturePrinter(options.skp_outdir)
48 48
49 def CreatePageSet(self, options): 49 def CreateStorySet(self, options):
50 page_set_class = _MatchPageSetName(options.page_set_name, 50 page_set_class = _MatchPageSetName(options.page_set_name,
51 options.page_set_base_dir) 51 options.page_set_base_dir)
52 return page_set_class() 52 return page_set_class()
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/session_restore.py ('k') | tools/perf/benchmarks/spaceport.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698