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

Side by Side Diff: tools/perf/benchmarks/spaceport.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/skpicture_printer.py ('k') | tools/perf/benchmarks/speedometer.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 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 """Runs spaceport.io's PerfMarks benchmark.""" 5 """Runs spaceport.io's PerfMarks benchmark."""
6 6
7 import logging 7 import logging
8 import os 8 import os
9 9
10 from core import perf_benchmark 10 from core import perf_benchmark
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 This test performs 3 animations (rotate, translate, scale) using a variety of 105 This test performs 3 animations (rotate, translate, scale) using a variety of
106 methods (css, webgl, canvas, etc) and reports the number of objects that can 106 methods (css, webgl, canvas, etc) and reports the number of objects that can
107 be simultaneously animated while still achieving 30FPS. 107 be simultaneously animated while still achieving 30FPS.
108 """ 108 """
109 test = _SpaceportMeasurement 109 test = _SpaceportMeasurement
110 110
111 @classmethod 111 @classmethod
112 def Name(cls): 112 def Name(cls):
113 return 'spaceport' 113 return 'spaceport'
114 114
115 def CreatePageSet(self, options): 115 def CreateStorySet(self, options):
116 spaceport_dir = os.path.join(util.GetChromiumSrcDir(), 'chrome', 'test', 116 spaceport_dir = os.path.join(util.GetChromiumSrcDir(), 'chrome', 'test',
117 'data', 'third_party', 'spaceport') 117 'data', 'third_party', 'spaceport')
118 ps = page_set.PageSet(base_dir=spaceport_dir) 118 ps = page_set.PageSet(base_dir=spaceport_dir)
119 ps.AddUserStory(page_module.Page('file://index.html', ps, ps.base_dir)) 119 ps.AddUserStory(page_module.Page('file://index.html', ps, ps.base_dir))
120 return ps 120 return ps
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/skpicture_printer.py ('k') | tools/perf/benchmarks/speedometer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698