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

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

Issue 256803004: [Telemetry] Disable robohornet pro because it is broken on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « no previous file | no next file » | 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 Microsoft's RoboHornet Pro benchmark.""" 5 """Runs Microsoft's RoboHornet Pro benchmark."""
6 6
7 import os 7 import os
8 8
9 from metrics import power 9 from metrics import power
10 from telemetry import test 10 from telemetry import test
(...skipping 18 matching lines...) Expand all
29 'document.getElementById("results").innerHTML.indexOf("Total") != -1', 29 'document.getElementById("results").innerHTML.indexOf("Total") != -1',
30 600) 30 600)
31 31
32 self._power_metric.Stop(page, tab) 32 self._power_metric.Stop(page, tab)
33 self._power_metric.AddResults(tab, results) 33 self._power_metric.AddResults(tab, results)
34 34
35 result = int(tab.EvaluateJavaScript('stopTime - startTime')) 35 result = int(tab.EvaluateJavaScript('stopTime - startTime'))
36 results.Add('Total', 'ms', result) 36 results.Add('Total', 'ms', result)
37 37
38 38
39 @test.Disabled('android') # crbug.com/357338
39 class RobohornetPro(test.Test): 40 class RobohornetPro(test.Test):
40 test = _RobohornetProMeasurement 41 test = _RobohornetProMeasurement
41 42
42 def CreatePageSet(self, options): 43 def CreatePageSet(self, options):
43 return page_set.PageSet.FromDict({ 44 return page_set.PageSet.FromDict({
44 'archive_data_file': '../page_sets/data/robohornet_pro.json', 45 'archive_data_file': '../page_sets/data/robohornet_pro.json',
45 # Measurement require use of real Date.now() for measurement. 46 # Measurement require use of real Date.now() for measurement.
46 'make_javascript_deterministic': False, 47 'make_javascript_deterministic': False,
47 'pages': [ 48 'pages': [
48 { 'url': 49 { 'url':
49 'http://ie.microsoft.com/testdrive/performance/robohornetpro/' } 50 'http://ie.microsoft.com/testdrive/performance/robohornetpro/' }
50 ] 51 ]
51 }, os.path.abspath(__file__)) 52 }, os.path.abspath(__file__))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698