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

Unified Diff: tools/perf/perf_tools/spaceport.py

Issue 15463003: [Telemetry] Utilize CreatePageSet for benchmarks with one page set. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make file_path required Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/perf_tools/robohornetpro.py ('k') | tools/perf/perf_tools/sunspider.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/perf_tools/spaceport.py
diff --git a/tools/perf/perf_tools/spaceport.py b/tools/perf/perf_tools/spaceport.py
index 8dec484defd612b693348ba84c7df22630ad5d25..e3d7253bf7eed2dc67d03c031892e14aca51f07a 100644
--- a/tools/perf/perf_tools/spaceport.py
+++ b/tools/perf/perf_tools/spaceport.py
@@ -2,12 +2,24 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+"""Runs spaceport.io's PerfMarks benchmark."""
+
import logging
+import os
from telemetry.core import util
from telemetry.page import page_measurement
+from telemetry.page import page_set
class SpaceportMeasurement(page_measurement.PageMeasurement):
+ def CreatePageSet(self, options):
+ return page_set.PageSet.FromDict({
+ 'pages': [
+ {'url':
+ 'file:///../../../chrome/test/data/third_party/spaceport/index.html'}
+ ]
+ }, os.path.abspath(__file__))
+
def CustomizeBrowserOptions(self, options):
options.extra_browser_args.extend(['--disable-gpu-vsync'])
« no previous file with comments | « tools/perf/perf_tools/robohornetpro.py ('k') | tools/perf/perf_tools/sunspider.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698