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

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

Issue 99483007: [telemetry] Ensure page sets reference the right WPR archives. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « tools/perf/benchmarks/jsgamebench.py ('k') | tools/perf/benchmarks/robohornet_pro.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 (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 Mozilla's Kraken JavaScript benchmark.""" 5 """Runs Mozilla's Kraken JavaScript benchmark."""
6 6
7 import os 7 import os
8 8
9 from telemetry import test 9 from telemetry import test
10 from telemetry.page import page_measurement 10 from telemetry.page import page_measurement
(...skipping 23 matching lines...) Expand all
34 total += _Mean(result_dict[key]) 34 total += _Mean(result_dict[key])
35 results.Add('Total', 'ms', total) 35 results.Add('Total', 'ms', total)
36 36
37 37
38 class Kraken(test.Test): 38 class Kraken(test.Test):
39 """Mozilla's Kraken JavaScript benchmark.""" 39 """Mozilla's Kraken JavaScript benchmark."""
40 test = _KrakenMeasurement 40 test = _KrakenMeasurement
41 41
42 def CreatePageSet(self, options): 42 def CreatePageSet(self, options):
43 return page_set.PageSet.FromDict({ 43 return page_set.PageSet.FromDict({
44 'archive_data_file': '../data/kraken.json', 44 'archive_data_file': '../page_sets/data/kraken.json',
45 'pages': [ 45 'pages': [
46 { 'url': 'http://krakenbenchmark.mozilla.org/kraken-1.1/driver.html' } 46 { 'url': 'http://krakenbenchmark.mozilla.org/kraken-1.1/driver.html' }
47 ] 47 ]
48 }, os.path.abspath(__file__)) 48 }, os.path.abspath(__file__))
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/jsgamebench.py ('k') | tools/perf/benchmarks/robohornet_pro.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698