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

Side by Side Diff: benchmarks/run.html

Issue 146076: Changed benchmark html and css files to be validating HTML 4.01 and CSS. (Closed)
Patch Set: Created 11 years, 6 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
« no previous file with comments | « no previous file | benchmarks/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 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html lang="en">
2 <head> 4 <head>
5 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
6 <meta http-equiv="Content-Script-Type" content="text/javascript">
7 <meta http-equiv="Content-Style-Type" content="text/css">
3 <title>V8 Benchmark Suite</title> 8 <title>V8 Benchmark Suite</title>
4 <script type="text/javascript" src="base.js"></script> 9 <script type="text/javascript" src="base.js"></script>
5 <script type="text/javascript" src="richards.js"></script> 10 <script type="text/javascript" src="richards.js"></script>
6 <script type="text/javascript" src="deltablue.js"></script> 11 <script type="text/javascript" src="deltablue.js"></script>
7 <script type="text/javascript" src="crypto.js"></script> 12 <script type="text/javascript" src="crypto.js"></script>
8 <script type="text/javascript" src="raytrace.js"></script> 13 <script type="text/javascript" src="raytrace.js"></script>
9 <script type="text/javascript" src="earley-boyer.js"></script> 14 <script type="text/javascript" src="earley-boyer.js"></script>
10 <script type="text/javascript" src="regexp.js"></script> 15 <script type="text/javascript" src="regexp.js"></script>
11 <script type="text/javascript" src="splay.js"></script> 16 <script type="text/javascript" src="splay.js"></script>
12 <link type="text/css" rel="stylesheet" href="style.css" /> 17 <link type="text/css" rel="stylesheet" href="style.css">
Lasse Reichstein 2009/06/24 07:58:15 Support for writing link without the XHTML closing
Christian Plesner Hansen 2009/06/24 10:06:35 As discussed, I would suggest not making this chan
13 <script type="text/javascript"> 18 <script type="text/javascript">
14 var completed = 0; 19 var completed = 0;
15 var benchmarks = BenchmarkSuite.CountBenchmarks(); 20 var benchmarks = BenchmarkSuite.CountBenchmarks();
16 var success = true; 21 var success = true;
17 22
18 function ShowProgress(name) { 23 function ShowProgress(name) {
19 var status = document.getElementById("status"); 24 var status = document.getElementById("status");
20 var percentage = ((++completed) / benchmarks) * 100; 25 var percentage = ((++completed) / benchmarks) * 100;
21 status.innerHTML = "Running: " + Math.round(percentage) + "% completed."; 26 status.innerHTML = "Running: " + Math.round(percentage) + "% completed.";
22 } 27 }
23 28
24 29
25 function AddResult(name, result) { 30 function AddResult(name, result) {
26 var text = name + ': ' + result; 31 var text = name + ': ' + result;
27 var results = document.getElementById("results"); 32 var results = document.getElementById("results");
28 results.innerHTML += (text + "<br/>"); 33 results.innerHTML += (text + "<br>");
29 } 34 }
30 35
31 36
32 function AddError(name, error) { 37 function AddError(name, error) {
33 AddResult(name, '<b>error</b>'); 38 AddResult(name, '<b>error<\/b>');
34 success = false; 39 success = false;
35 } 40 }
36 41
37 42
38 function AddScore(score) { 43 function AddScore(score) {
39 var status = document.getElementById("status"); 44 var status = document.getElementById("status");
40 if (success) { 45 if (success) {
41 status.innerHTML = "Score: " + score; 46 status.innerHTML = "Score: " + score;
42 } 47 }
43 } 48 }
44 49
45 50
46 function Run() { 51 function Run() {
47 BenchmarkSuite.RunSuites({ NotifyStep: ShowProgress, 52 BenchmarkSuite.RunSuites({ NotifyStep: ShowProgress,
48 NotifyError: AddError, 53 NotifyError: AddError,
49 NotifyResult: AddResult, 54 NotifyResult: AddResult,
50 NotifyScore: AddScore }); 55 NotifyScore: AddScore });
51 } 56 }
52 57
53 function Load() { 58 function Load() {
54 var version = BenchmarkSuite.version; 59 var version = BenchmarkSuite.version;
55 document.getElementById("version").innerHTML = version; 60 document.getElementById("version").innerHTML = version;
56 window.setTimeout(Run, 200); 61 setTimeout(Run, 200);
57 } 62 }
58 </script> 63 </script>
59 </head> 64 </head>
60 <body onLoad="Load()"> 65 <body onload="Load()">
61 <div> 66 <div>
62 <div class="title"><h1>V8 Benchmark Suite - version <span id="version">?</span ></h1></div> 67 <div class="title"><h1>V8 Benchmark Suite - version <span id="version">?</span ></h1></div>
63 <table> 68 <table>
64 <tr> 69 <tr>
65 <td class="contents"> 70 <td class="contents">
66 This page contains a suite of pure JavaScript benchmarks that we have 71 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 72 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 73 the individual results to make it independent of the running times of
69 the individual benchmarks and of a reference system (score 74 the individual benchmarks and of a reference system (score
70 100). Scores are not comparable across benchmark suite versions and 75 100). Scores are not comparable across benchmark suite versions and
71 higher scores means better performance: <em>Bigger is better!</em> 76 higher scores means better performance: <em>Bigger is better!</em>
72 77
73 <ul> 78 <ul>
74 <li><b>Richards</b><br/>OS kernel simulation benchmark, originally written in BC PL by Martin Richards (<i>539 lines</i>).</li> 79 <li><b>Richards</b><br>OS kernel simulation benchmark, originally written in BCP L by Martin Richards (<i>539 lines</i>).</li>
75 <li><b>DeltaBlue</b><br/>One-way constraint solver, originally written in Smallt alk by John Maloney and Mario Wolczko (<i>880 lines</i>).</li> 80 <li><b>DeltaBlue</b><br>One-way constraint solver, originally written in Smallta lk by John Maloney and Mario Wolczko (<i>880 lines</i>).</li>
76 <li><b>Crypto</b><br/>Encryption and decryption benchmark based on code by Tom W u (<i>1698 lines</i>).</li> 81 <li><b>Crypto</b><br>Encryption and decryption benchmark based on code by Tom Wu (<i>1698 lines</i>).</li>
77 <li><b>RayTrace</b><br/>Ray tracer benchmark based on code by <a href="http://fl og.co.nz/">Adam Burmister</a> (<i>935 lines</i>).</li> 82 <li><b>RayTrace</b><br>Ray tracer benchmark based on code by <a href="http://flo g.co.nz/">Adam Burmister</a> (<i>935 lines</i>).</li>
78 <li><b>EarleyBoyer</b><br/>Classic Scheme benchmarks, translated to JavaScript b y Florian Loitsch's Scheme2Js compiler (<i>4685 lines</i>).</li> 83 <li><b>EarleyBoyer</b><br>Classic Scheme benchmarks, translated to JavaScript by Florian Loitsch's Scheme2Js compiler (<i>4685 lines</i>).</li>
79 <li><b>RegExp</b><br/>Regular expression benchmark generated by extracting regul ar expression operations from 50 of the most popular web pages 84 <li><b>RegExp</b><br>Regular expression benchmark generated by extracting regula r expression operations from 50 of the most popular web pages
80 (<i>1614 lines</i>). 85 (<i>1614 lines</i>).
81 </li> 86 </li>
82 <li><b>Splay</b><br/>Data manipulation benchmark that deals with splay trees and exercises the automatic memory management subsystem (<i>378 lines</i>).</li> 87 <li><b>Splay</b><br>Data manipulation benchmark that deals with splay trees and exercises the automatic memory management subsystem (<i>378 lines</i>).</li>
83 </ul> 88 </ul>
84 89
85 <p> 90 <p>
86 Note that benchmark results are not comparable unless both results are 91 Note that benchmark results are not comparable unless both results are
87 run with the same revision of the benchmark suite. We will be making 92 run with the same revision of the benchmark suite. We will be making
88 revisions from time to time in order to fix bugs or expand the scope 93 revisions from time to time in order to fix bugs or expand the scope
89 of the benchmark suite. For previous revisions and the change log see 94 of the benchmark suite. For previous revisions and the change log see
90 the <a href="http://v8.googlecode.com/svn/data/benchmarks/current/revisions.html ">revisions</a> page. 95 the <a href="http://v8.googlecode.com/svn/data/benchmarks/current/revisions.html ">revisions</a> page.
91 </p> 96 </p>
92 97
93 </td><td style="text-align: center"> 98 </td><td style="text-align: center">
94 <div class="run"> 99 <div class="run">
95 <div id="status" style="text-align: center; margin-top: 50px; font-size: 120%; font-weight: bold;">Starting...</div> 100 <div id="status">Starting...</div>
96 <div style="text-align: left; margin: 30px 0 0 90px;" id="results"> 101 <div id="results">
97 <div> 102 </div>
98 </div> 103 </div>
99 </td></tr></table> 104 </td></tr></table>
100 105
101 </div> 106 </div>
102 107
103 </body> 108 </body>
104 </html> 109 </html>
OLDNEW
« no previous file with comments | « no previous file | benchmarks/style.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698