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

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

Issue 1217653003: Revert of [Telemetry] Modify CreatePageSet to CreateStorySet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
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 core import perf_benchmark 9 from core import perf_benchmark
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 """Milliseconds to complete the RoboHornetPro demo by Microsoft. 53 """Milliseconds to complete the RoboHornetPro demo by Microsoft.
54 54
55 http://ie.microsoft.com/testdrive/performance/robohornetpro/ 55 http://ie.microsoft.com/testdrive/performance/robohornetpro/
56 """ 56 """
57 test = _RobohornetProMeasurement 57 test = _RobohornetProMeasurement
58 58
59 @classmethod 59 @classmethod
60 def Name(cls): 60 def Name(cls):
61 return 'robohornet_pro' 61 return 'robohornet_pro'
62 62
63 def CreateStorySet(self, options): 63 def CreatePageSet(self, options):
64 ps = page_set.PageSet( 64 ps = page_set.PageSet(
65 archive_data_file='../page_sets/data/robohornet_pro.json', 65 archive_data_file='../page_sets/data/robohornet_pro.json',
66 base_dir=os.path.dirname(os.path.abspath(__file__)), 66 base_dir=os.path.dirname(os.path.abspath(__file__)),
67 bucket=page_set.PARTNER_BUCKET) 67 bucket=page_set.PARTNER_BUCKET)
68 ps.AddUserStory(page_module.Page( 68 ps.AddUserStory(page_module.Page(
69 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', 69 'http://ie.microsoft.com/testdrive/performance/robohornetpro/',
70 ps, ps.base_dir, 70 ps, ps.base_dir,
71 # Measurement require use of real Date.now() for measurement. 71 # Measurement require use of real Date.now() for measurement.
72 make_javascript_deterministic=False)) 72 make_javascript_deterministic=False))
73 return ps 73 return ps
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/rasterize_and_record_micro.py ('k') | tools/perf/benchmarks/session_restore.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698