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

Side by Side Diff: chrome/test/data/sunspider/sunspider-results.html

Issue 14863013: Update SunSpider benchmark from 0.9.1 to 1.0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing files Created 7 years, 7 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4
5 <meta charset=utf8>
6
7 <!--
8 Copyright (C) 2007 Apple Inc. All rights reserved.
9
10 Redistribution and use in source and binary forms, with or without
11 modification, are permitted provided that the following conditions
12 are met:
13 1. Redistributions of source code must retain the above copyright
14 notice, this list of conditions and the following disclaimer.
15 2. Redistributions in binary form must reproduce the above copyright
16 notice, this list of conditions and the following disclaimer in the
17 documentation and/or other materials provided with the distribution.
18
19 THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
20 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
23 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
26 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
27 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 -->
31
32 <title>SunSpider 0.9.1 JavaScript Benchmark Results (sunspider-0.9.1 test suite) </title>
33 <link rel="stylesheet" href="sunspider.css">
34 </head>
35
36 <body>
37 <h2><span id="logo">&#x2600;</span>SunSpider 0.9.1 JavaScript Benchmark Results< /h2>
38
39 <h3>Content Version: sunspider-0.9.1</h3>
40
41 <p><a href="driver.html">Run Again</a></p>
42
43 <p><input style="width: 90%;" id="selfUrl" type="text" readonly="readonly"><br>
44 <small>(You can bookmark this results URL for later comparison.)</small></p>
45
46 <form onsubmit="event.preventDefault(); compare(other.value);">To compare to ano ther run, paste a saved result URL in the text field below and press enter:<br>
47 <input style="width: 90%;" name="other" type="text"><br>
48 </form>
49
50 <pre id="console">
51 </pre>
52
53 <script src="../json2.js"></script>
54 <script>
55 var selfUrlInput = document.getElementById("selfUrl");
56 selfUrlInput.value = location;
57
58 var outputJSON = JSON.parse(decodeURI(location.search.substring(1)));
59 var version = outputJSON["v"];
60 delete outputJSON["v"];
61 var output = pivot(outputJSON);
62
63 function pivot(input) {
64 var output = [];
65 for (var test in input) {
66 for (var i = 0; i < input[test].length; i++) {
67 if (!output[i])
68 output[i] = {};
69 output[i][test] = input[test][i];
70 }
71 }
72 return output;
73 }
74
75 function print(str) {
76 var console = document.getElementById("console");
77 console.appendChild(document.createTextNode(str));
78 console.appendChild(document.createElement("br"));
79 }
80 </script>
81 <script src="../../perf/sunspider_uitest.js"></script>
82 <script src="sunspider-test-prefix.js"></script>
83 <script src="sunspider-analyze-results.js"></script>
84 <script src="sunspider-compare-results.js"></script>
85
86 <script>
87 // At this point the analysis is complete (see sunspider-analyze-results.js).
88 automation.SetDone();
89 </script>
90
91
92 <script>
93 var output2 = output;
94 var version2 = version;
95
96 function compare(other)
97 {
98 document.getElementById("console").innerHTML = "";
99
100 var output1JSON = JSON.parse(decodeURI(other.split("?")[1]));
101 var version1 = output1JSON["v"];
102 delete output1JSON["v"];
103 if (version1 != version2) {
104 print("ERROR: cannot compare version " + version1 + ' with version ' + v ersion2);
105 } else {
106 var output1 = pivot(output1JSON);
107 sunspiderCompareResults(output1, output2);
108 }
109 }
110 </script>
111
112
113 </body>
114 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/sunspider/sunspider-record-result.js ('k') | chrome/test/data/sunspider/sunspider-test-prefix.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698