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

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

Issue 24451002: [telemetry] Support absolute paths by changing file:/// to file://. More robust file path handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test on mac, apparently /tmp is a symlink to /private/tmp Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « tools/perf/benchmarks/octane.py ('k') | tools/perf/benchmarks/sunspider.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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 telemetry import test 10 from telemetry import test
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 56
57 class Spaceport(test.Test): 57 class Spaceport(test.Test):
58 """spaceport.io's PerfMarks benchmark.""" 58 """spaceport.io's PerfMarks benchmark."""
59 test = SpaceportMeasurement 59 test = SpaceportMeasurement
60 60
61 def CreatePageSet(self, options): 61 def CreatePageSet(self, options):
62 spaceport_dir = os.path.join(util.GetChromiumSrcDir(), 'chrome', 'test', 62 spaceport_dir = os.path.join(util.GetChromiumSrcDir(), 'chrome', 'test',
63 'data', 'third_party', 'spaceport') 63 'data', 'third_party', 'spaceport')
64 return page_set.PageSet.FromDict( 64 return page_set.PageSet.FromDict(
65 {'pages': [{'url': 'file:///index.html'}]}, 65 {'pages': [{'url': 'file://index.html'}]},
66 spaceport_dir) 66 spaceport_dir)
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/octane.py ('k') | tools/perf/benchmarks/sunspider.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698