| OLD | NEW |
| 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 <style> | 10 <link type="text/css" rel="stylesheet" href="style.css"></link> |
| 11 body { | |
| 12 font-family: sans-serif; | |
| 13 } | |
| 14 | |
| 15 hr{ | |
| 16 border:1px solid; | |
| 17 border-color:#36C; | |
| 18 margin:1em 0 | |
| 19 } | |
| 20 | |
| 21 h1,h2,h3,h4{margin:0; margin-bottom:0} | |
| 22 h1{font-size: 200%; height: 2em} | |
| 23 h2{font-size: 140%; height: 2em} | |
| 24 h3{font-size: 100%; height: 2em} | |
| 25 | |
| 26 li{ | |
| 27 margin:.3em 0 1em 0; | |
| 28 } | |
| 29 | |
| 30 body{ | |
| 31 font-family: Helvetica,Arial,sans-serif; | |
| 32 font-size: small; | |
| 33 color: #000; | |
| 34 background-color: #fff; | |
| 35 } | |
| 36 | |
| 37 div.title { | |
| 38 background-color: rgb(229, 236, 249); | |
| 39 border-top: 1px solid rgb(51, 102, 204); | |
| 40 text-align: center; | |
| 41 padding-top: 0.2em; | |
| 42 padding-bottom: 0.2em; | |
| 43 margin-bottom: 20px; | |
| 44 } | |
| 45 | |
| 46 td.contents { | |
| 47 text-align: start; | |
| 48 } | |
| 49 | |
| 50 div.run { | |
| 51 margin: 20px; | |
| 52 width: 300px; | |
| 53 height: 300px; | |
| 54 float: right; | |
| 55 background-color: rgb(229, 236, 249); | |
| 56 background-image: url(v8-logo.png); | |
| 57 background-position: center center; | |
| 58 background-repeat: no-repeat; | |
| 59 border: 1px solid rgb(51, 102, 204); | |
| 60 } | |
| 61 </style> | |
| 62 | |
| 63 <script type="text/javascript"> | 11 <script type="text/javascript"> |
| 64 var completed = 0; | 12 var completed = 0; |
| 65 var benchmarks = BenchmarkSuite.CountBenchmarks(); | 13 var benchmarks = BenchmarkSuite.CountBenchmarks(); |
| 66 var success = true; | 14 var success = true; |
| 67 | 15 |
| 68 function ShowProgress(name) { | 16 function ShowProgress(name) { |
| 69 var status = document.getElementById("status"); | 17 var status = document.getElementById("status"); |
| 70 var percentage = ((++completed) / benchmarks) * 100; | 18 var percentage = ((++completed) / benchmarks) * 100; |
| 71 status.innerHTML = "Running: " + Math.round(percentage) + "% completed."; | 19 status.innerHTML = "Running: " + Math.round(percentage) + "% completed."; |
| 72 } | 20 } |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 higher scores means better performance: <em>Bigger is better!</em> | 69 higher scores means better performance: <em>Bigger is better!</em> |
| 122 | 70 |
| 123 <ul> | 71 <ul> |
| 124 <li><b>Richards</b><br/>OS kernel simulation benchmark, originally written in BC
PL by Martin Richards (<i>539 lines</i>).</li> | 72 <li><b>Richards</b><br/>OS kernel simulation benchmark, originally written in BC
PL by Martin Richards (<i>539 lines</i>).</li> |
| 125 <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> | 73 <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> |
| 126 <li><b>Crypto</b><br/>Encryption and decryption benchmark based on code by Tom W
u (<i>1689 lines</i>).</li> | 74 <li><b>Crypto</b><br/>Encryption and decryption benchmark based on code by Tom W
u (<i>1689 lines</i>).</li> |
| 127 <li><b>RayTrace</b><br/>Ray tracer benchmark based on code by <a href="http://fl
og.co.nz/">Adam Burmister</a> (<i>3418 lines</i>).</li> | 75 <li><b>RayTrace</b><br/>Ray tracer benchmark based on code by <a href="http://fl
og.co.nz/">Adam Burmister</a> (<i>3418 lines</i>).</li> |
| 128 <li><b>EarleyBoyer</b><br/>Classic Scheme benchmarks, translated to JavaScript b
y Florian Loitsch's Scheme2Js compiler (<i>4682 lines</i>).</li> | 76 <li><b>EarleyBoyer</b><br/>Classic Scheme benchmarks, translated to JavaScript b
y Florian Loitsch's Scheme2Js compiler (<i>4682 lines</i>).</li> |
| 129 </ul> | 77 </ul> |
| 130 | 78 |
| 131 <div class="title"><h2>Revisions of the benchmark suite</h2></div> | 79 <p> |
| 132 | 80 Note that benchmark results are not comparable unless both results are |
| 133 <p><i>Please note that benchmark results are not comparable unless both | 81 run with the same revision of the benchmark suite. We will be making |
| 134 results are run with the same revision of the benchmark suite. We will be | 82 revisions from time to time in order to fix bugs or expand the scope |
| 135 making revisions from time to time in order to fix bugs or expand the scope | 83 of the benchmark suite. For previous revisions and the change log see |
| 136 of the benchmark suite.</i></p> | 84 the <a href="http://v8.googlecode.com/svn/data/benchmarks/current/revisions.html
">revisions</a> page. |
| 137 | 85 </p> |
| 138 <div class="title"><h3>Version 1</h3></div> | |
| 139 | |
| 140 <p>Initial release.</p> | |
| 141 | |
| 142 <div class="title"><h3>Version 2</h3></div> | |
| 143 | |
| 144 <p>For version 2 the crypto benchmark was fixed. Previously, the | |
| 145 decryption stage was given plaintext as input, which resulted in an | |
| 146 error. Now, the decryption stage is given the output of the | |
| 147 encryption stage as input. The result is checked against the original | |
| 148 plaintext. For this to give the correct results the crypto objects | |
| 149 are reset for each iteration of the benchmark. In addition, the size | |
| 150 of the plain text has been increased a little and the use of | |
| 151 Math.random() and new Date() to build an RNG pool has been | |
| 152 removed. </p> | |
| 153 | |
| 154 <p>Other benchmarks were fixed to do elementary verification of the | |
| 155 results of their calculations. This is to avoid accidentally | |
| 156 obtaining scores that are the result of an incorrect JavaScript engine | |
| 157 optimization.</p> | |
| 158 | |
| 159 | 86 |
| 160 </td><td style="text-align: center"> | 87 </td><td style="text-align: center"> |
| 161 <div class="run"> | 88 <div class="run"> |
| 162 <div id="status" style="text-align: center; margin-top: 75px; font-size: 120%;
font-weight: bold;">Starting...</div> | 89 <div id="status" style="text-align: center; margin-top: 75px; font-size: 120%;
font-weight: bold;">Starting...</div> |
| 163 <div style="text-align: left; margin: 30px 0 0 90px;" id="results"> | 90 <div style="text-align: left; margin: 30px 0 0 90px;" id="results"> |
| 164 <div> | 91 <div> |
| 165 </div> | 92 </div> |
| 166 </td></tr></table> | 93 </td></tr></table> |
| 167 | 94 |
| 168 </div> | 95 </div> |
| 169 | 96 |
| 170 </body> | 97 </body> |
| 171 </html> | 98 </html> |
| OLD | NEW |