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

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

Issue 806513002: Move make_javascript_deterministic to UserStory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years 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
« no previous file with comments | « tools/perf/benchmarks/octane.py ('k') | tools/perf/benchmarks/speedometer.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 2012 The Chromium Authors. All rights reserved. 1 # Copyright 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 benchmark 10 from telemetry import benchmark
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 # We plan to remove this test because it doesn't give useful data, but 45 # We plan to remove this test because it doesn't give useful data, but
46 # we need to wait until Chrome OS can implement support for more helpful 46 # we need to wait until Chrome OS can implement support for more helpful
47 # benchmarks. 47 # benchmarks.
48 @benchmark.Enabled('chromeos') 48 @benchmark.Enabled('chromeos')
49 class RobohornetPro(benchmark.Benchmark): 49 class RobohornetPro(benchmark.Benchmark):
50 test = _RobohornetProMeasurement 50 test = _RobohornetProMeasurement
51 51
52 def CreatePageSet(self, options): 52 def CreatePageSet(self, options):
53 ps = page_set.PageSet( 53 ps = page_set.PageSet(
54 archive_data_file='../page_sets/data/robohornet_pro.json', 54 archive_data_file='../page_sets/data/robohornet_pro.json',
55 # Measurement require use of real Date.now() for measurement. 55 file_path=os.path.abspath(__file__),
56 make_javascript_deterministic=False, 56 bucket=page_set.PARTNER_BUCKET)
57 file_path=os.path.abspath(__file__),
58 bucket=page_set.PARTNER_BUCKET)
59 ps.AddUserStory(page_module.Page( 57 ps.AddUserStory(page_module.Page(
60 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', 58 'http://ie.microsoft.com/testdrive/performance/robohornetpro/',
61 ps, ps.base_dir)) 59 ps, ps.base_dir,
60 # Measurement require use of real Date.now() for measurement.
61 make_javascript_deterministic=False))
62 return ps 62 return ps
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/octane.py ('k') | tools/perf/benchmarks/speedometer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698