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

Unified Diff: tools/perf/perf_tools/robohornetpro.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/octane.py ('k') | tools/perf/perf_tools/spaceport.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/perf_tools/robohornetpro.py
diff --git a/tools/perf/perf_tools/robohornetpro.py b/tools/perf/perf_tools/robohornetpro.py
index 9bd2553ce9f92e4a8a2e1652bfd53ff743381778..b3065d5bd83668c6b6512bde523d44c28f9eaddf 100644
--- a/tools/perf/perf_tools/robohornetpro.py
+++ b/tools/perf/perf_tools/robohornetpro.py
@@ -1,10 +1,25 @@
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+
+"""Runs Microsoft's RoboHornet Pro benchmark."""
+
+import os
+
from telemetry.core import util
from telemetry.page import page_measurement
+from telemetry.page import page_set
class RobohornetPro(page_measurement.PageMeasurement):
+ def CreatePageSet(self, options):
+ return page_set.PageSet.FromDict({
+ 'archive_data_file': '../data/robohornetpro.json',
+ 'pages': [
+ { 'url':
+ 'http://ie.microsoft.com/testdrive/performance/robohornetpro/' }
+ ]
+ }, os.path.abspath(__file__))
+
def CustomizeBrowserOptions(self, options):
# Measurement require use of real Date.now() for measurement.
options.wpr_make_javascript_deterministic = False
« no previous file with comments | « tools/perf/perf_tools/octane.py ('k') | tools/perf/perf_tools/spaceport.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698