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

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

Powered by Google App Engine
This is Rietveld 408576698