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

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

Powered by Google App Engine
This is Rietveld 408576698