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

Side by Side Diff: tools/perf/perf_tools/sunspider.py

Issue 11348331: Rename sunspider_benchmark to sunspider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | tools/perf/perf_tools/sunspider_benchmark.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 import collections 5 import collections
6 import json 6 import json
7 7
8 from telemetry import multi_page_benchmark 8 from telemetry import multi_page_benchmark
9 from telemetry import util 9 from telemetry import util
10 10
(...skipping 15 matching lines...) Expand all
26 # ...] 26 # ...]
27 for result in js_results: 27 for result in js_results:
28 total = 0 28 total = 0
29 for key, value in result.iteritems(): 29 for key, value in result.iteritems():
30 r[key].append(value) 30 r[key].append(value)
31 total += value 31 total += value
32 totals.append(total) 32 totals.append(total)
33 for key, values in r.iteritems(): 33 for key, values in r.iteritems():
34 results.Add('t', 'ms', values, chart_name=key, data_type='unimportant') 34 results.Add('t', 'ms', values, chart_name=key, data_type='unimportant')
35 results.Add('t', 'ms', totals, chart_name='total') 35 results.Add('t', 'ms', totals, chart_name='total')
OLDNEW
« no previous file with comments | « no previous file | tools/perf/perf_tools/sunspider_benchmark.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698