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

Side by Side Diff: benchmarks/v3/run.html

Issue 149610: Second of three CLs now changing v2, v3 and v4 of the benchmark suite... (Closed) Base URL: http://v8.googlecode.com/svn/data/
Patch Set: Created 11 years, 5 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 | « benchmarks/v2/style.css ('k') | benchmarks/v3/style.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>V8 Benchmark Suite</title> 3 <title>V8 Benchmark Suite</title>
4 <script type="text/javascript" src="base.js"></script> 4 <script type="text/javascript" src="base.js"></script>
5 <script type="text/javascript" src="richards.js"></script> 5 <script type="text/javascript" src="richards.js"></script>
6 <script type="text/javascript" src="deltablue.js"></script> 6 <script type="text/javascript" src="deltablue.js"></script>
7 <script type="text/javascript" src="crypto.js"></script> 7 <script type="text/javascript" src="crypto.js"></script>
8 <script type="text/javascript" src="raytrace.js"></script> 8 <script type="text/javascript" src="raytrace.js"></script>
9 <script type="text/javascript" src="earley-boyer.js"></script> 9 <script type="text/javascript" src="earley-boyer.js"></script>
10 <script type="text/javascript" src="regexp.js"></script> 10 <script type="text/javascript" src="regexp.js"></script>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 42 }
43 43
44 44
45 function Run() { 45 function Run() {
46 BenchmarkSuite.RunSuites({ NotifyStep: ShowProgress, 46 BenchmarkSuite.RunSuites({ NotifyStep: ShowProgress,
47 NotifyError: AddError, 47 NotifyError: AddError,
48 NotifyResult: AddResult, 48 NotifyResult: AddResult,
49 NotifyScore: AddScore }); 49 NotifyScore: AddScore });
50 } 50 }
51 51
52 function ShowWarningIfObsolete() {
53 // If anything goes wrong we will just catch the exception and no
54 // warning is shown, i.e., no harm is done.
55 try {
56 var xmlhttp;
57 var next_version = parseInt(BenchmarkSuite.version) + 1;
58 var next_version_url = "../v" + next_version + "/run.html";
59 if (window.XMLHttpRequest) {
60 xmlhttp = new window.XMLHttpRequest();
61 } else if (window.ActiveXObject) {
62 xmlhttp = new window.ActiveXObject("Microsoft.XMLHTTP");
63 }
64 xmlhttp.open('GET', next_version_url, true);
65 xmlhttp.onreadystatechange = function() {
66 if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
67 document.getElementById('obsolete').style.display="block";
68 }
69 };
70 xmlhttp.send(null);
71 } catch(e) {
72 // Ignore exception if check for next version fails.
73 // Hence no warning is displayed.
74 }
75 }
76
52 function Load() { 77 function Load() {
53 var version = BenchmarkSuite.version; 78 var version = BenchmarkSuite.version;
54 document.getElementById("version").innerHTML = version; 79 document.getElementById("version").innerHTML = version;
80 ShowWarningIfObsolete();
55 window.setTimeout(Run, 200); 81 window.setTimeout(Run, 200);
56 } 82 }
57 </script> 83 </script>
58 </head> 84 </head>
59 <body onLoad="Load()"> 85 <body onLoad="Load()">
60 <div> 86 <div>
61 <div class="title"><h1>V8 Benchmark Suite - version <span id="version">?</span ></h1></div> 87 <div class="title"><h1>V8 Benchmark Suite - version <span id="version">?</span ></h1></div>
88 <div class="warning" id="obsolete">
89 Warning! This is not the latest version of V8 benchmark
90 suite. Consider running the
91 <a href="http://v8.googlecode.com/svn/data/benchmarks/current/run.html">
92 latest version</a>.
93 </div>
62 <table> 94 <table>
63 <tr> 95 <tr>
64 <td class="contents"> 96 <td class="contents">
65 This page contains a suite of pure JavaScript benchmarks that we have 97 This page contains a suite of pure JavaScript benchmarks that we have
66 used to tune V8. The final score is computed as the geometric mean of 98 used to tune V8. The final score is computed as the geometric mean of
67 the individual results to make it independent of the running times of 99 the individual results to make it independent of the running times of
68 the individual benchmarks and of a reference system (score 100 the individual benchmarks and of a reference system (score
69 100). Scores are not comparable across benchmark suite versions and 101 100). Scores are not comparable across benchmark suite versions and
70 higher scores means better performance: <em>Bigger is better!</em> 102 higher scores means better performance: <em>Bigger is better!</em>
71 103
(...skipping 21 matching lines...) Expand all
93 <div id="status" style="text-align: center; margin-top: 60px; font-size: 120%; font-weight: bold;">Starting...</div> 125 <div id="status" style="text-align: center; margin-top: 60px; font-size: 120%; font-weight: bold;">Starting...</div>
94 <div style="text-align: left; margin: 30px 0 0 90px;" id="results"> 126 <div style="text-align: left; margin: 30px 0 0 90px;" id="results">
95 <div> 127 <div>
96 </div> 128 </div>
97 </td></tr></table> 129 </td></tr></table>
98 130
99 </div> 131 </div>
100 132
101 </body> 133 </body>
102 </html> 134 </html>
OLDNEW
« no previous file with comments | « benchmarks/v2/style.css ('k') | benchmarks/v3/style.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698