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

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

Issue 17438002: [telemetry] test_runner and run_benchmarks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « tools/perf/benchmarks/__init__.py ('k') | tools/perf/measurements/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 import os
5
6 from telemetry import test
7 from telemetry.core import util
8 from telemetry.page import page_set
9
10 import measurements
11
12
13 class Smoothness(test.TelemetryTest):
nduca 2013/06/18 23:52:23 This is SmoothnessTop25 no?
dtu 2013/06/19 01:00:50 Done.
14 """Measures rendering statistics while scrolling down the top 25 web pages"""
15 test = measurements.smoothness.Smoothness
16 page_set = 'page_sets/top_25.json'
17 options = {'report_all_results': False}
18
19 class Sunspider(test.TelemetryTest):
20 """Performance on the SunSpider JavaScript benchmark"""
21 test = measurements.sunspider.Sunspider
nduca 2013/06/18 23:52:23 can you blow this file out to be one class per fil
dtu 2013/06/19 01:00:50 Done.
22
23 def CreatePageSet(self, options):
24 sunspider_dir = os.path.join(util.GetChromiumSrcDir(),
25 'chrome', 'test', 'data', 'sunspider')
26 return page_set.PageSet.FromDict(
27 {
28 'serving_dirs': [''],
29 'pages': [{ 'url': 'file:///sunspider-1.0/driver.html' }],
30 },
31 sunspider_dir)
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/__init__.py ('k') | tools/perf/measurements/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698