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

Unified Diff: tools/perf/benchmarks/robohornetpro.py

Issue 19721002: [telemetry] Add run_benchmark benchmarks for everything that runs on the bots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: I am Maru Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/benchmarks/robohornet_pro.py ('k') | tools/perf/benchmarks/startup_warm.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/robohornetpro.py
diff --git a/tools/perf/benchmarks/robohornetpro.py b/tools/perf/benchmarks/robohornetpro.py
deleted file mode 100644
index 090d9c8699666481a1fbfcf351d70f4dadfda280..0000000000000000000000000000000000000000
--- a/tools/perf/benchmarks/robohornetpro.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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 import test
-from telemetry.core import util
-from telemetry.page import page_measurement
-from telemetry.page import page_set
-
-
-class RobohornetProMeasurement(page_measurement.PageMeasurement):
- def MeasurePage(self, _, tab, results):
- tab.ExecuteJavaScript('ToggleRoboHornet()')
-
- done = 'document.getElementById("results").innerHTML.indexOf("Total") != -1'
- def _IsDone():
- return tab.EvaluateJavaScript(done)
- util.WaitFor(_IsDone, 60)
-
- result = int(tab.EvaluateJavaScript('stopTime - startTime'))
- results.Add('Total', 'ms', result)
-
-
-class RobohornetPro(test.Test):
- test = RobohornetProMeasurement
-
- def CreatePageSet(self, options):
- return page_set.PageSet.FromDict({
- 'archive_data_file': '../data/robohornetpro.json',
- # Measurement require use of real Date.now() for measurement.
- 'make_javascript_deterministic': False,
- 'pages': [
- { 'url':
- 'http://ie.microsoft.com/testdrive/performance/robohornetpro/' }
- ]
- }, os.path.abspath(__file__))
« no previous file with comments | « tools/perf/benchmarks/robohornet_pro.py ('k') | tools/perf/benchmarks/startup_warm.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698