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

Side by Side Diff: chrome/test/perf/sunspider_uitest.js

Issue 11419268: Delete sunspider performance_ui_test. (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 | « chrome/test/perf/sunspider_uitest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
5 */
6
7 // Automation utilities for running SunSpider as a UI test.
8
9 function Automation() {
10 }
11
12 Automation.prototype.SetDone = function() {
13 document.cookie = '__done=1; path=/';
14 }
15
16 Automation.prototype.GetTotal = function() {
17 // Calculated in sunspider-analyze-results.js.
18 return mean + ',' + stdDev;
19 }
20
21 Automation.prototype.GetResults = function() {
22 var results = {};
23
24 var input = eval("(" + decodeURI(location.search.substring(1)) + ")");
25 for (test in input)
26 results[test] = input[test].toString();
27
28 return results;
29 }
30
31 automation = new Automation();
OLDNEW
« no previous file with comments | « chrome/test/perf/sunspider_uitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698