| 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 <script type="text/javascript" src="regexp.js"></script> | 10 <script type="text/javascript" src="regexp.js"></script> |
| 11 <script type="text/javascript" src="splay.js"></script> |
| 11 <link type="text/css" rel="stylesheet" href="style.css"></link> | 12 <link type="text/css" rel="stylesheet" href="style.css"></link> |
| 12 <script type="text/javascript"> | 13 <script type="text/javascript"> |
| 13 var completed = 0; | 14 var completed = 0; |
| 14 var benchmarks = BenchmarkSuite.CountBenchmarks(); | 15 var benchmarks = BenchmarkSuite.CountBenchmarks(); |
| 15 var success = true; | 16 var success = true; |
| 16 | 17 |
| 17 function ShowProgress(name) { | 18 function ShowProgress(name) { |
| 18 var status = document.getElementById("status"); | 19 var status = document.getElementById("status"); |
| 19 var percentage = ((++completed) / benchmarks) * 100; | 20 var percentage = ((++completed) / benchmarks) * 100; |
| 20 status.innerHTML = "Running: " + Math.round(percentage) + "% completed."; | 21 status.innerHTML = "Running: " + Math.round(percentage) + "% completed."; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 This page contains a suite of pure JavaScript benchmarks that we have | 66 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 | 67 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 | 68 the individual results to make it independent of the running times of |
| 68 the individual benchmarks and of a reference system (score | 69 the individual benchmarks and of a reference system (score |
| 69 100). Scores are not comparable across benchmark suite versions and | 70 100). Scores are not comparable across benchmark suite versions and |
| 70 higher scores means better performance: <em>Bigger is better!</em> | 71 higher scores means better performance: <em>Bigger is better!</em> |
| 71 | 72 |
| 72 <ul> | 73 <ul> |
| 73 <li><b>Richards</b><br/>OS kernel simulation benchmark, originally written in BC
PL by Martin Richards (<i>539 lines</i>).</li> | 74 <li><b>Richards</b><br/>OS kernel simulation benchmark, originally written in BC
PL by Martin Richards (<i>539 lines</i>).</li> |
| 74 <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> | 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> |
| 75 <li><b>Crypto</b><br/>Encryption and decryption benchmark based on code by Tom W
u (<i>1689 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> |
| 76 <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> | 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> |
| 77 <li><b>EarleyBoyer</b><br/>Classic Scheme benchmarks, translated to JavaScript b
y Florian Loitsch's Scheme2Js compiler (<i>4682 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> |
| 78 <li><b>RegExp</b><br/>Regular expression benchmark generated by extracting regul
ar expression operations from 50 of the most popular web pages | 79 <li><b>RegExp</b><br/>Regular expression benchmark generated by extracting regul
ar expression operations from 50 of the most popular web pages |
| 79 (<i>4758 lines</i>). | 80 (<i>1614 lines</i>). |
| 80 </li> | 81 </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> |
| 81 </ul> | 83 </ul> |
| 82 | 84 |
| 83 <p> | 85 <p> |
| 84 Note that benchmark results are not comparable unless both results are | 86 Note that benchmark results are not comparable unless both results are |
| 85 run with the same revision of the benchmark suite. We will be making | 87 run with the same revision of the benchmark suite. We will be making |
| 86 revisions from time to time in order to fix bugs or expand the scope | 88 revisions from time to time in order to fix bugs or expand the scope |
| 87 of the benchmark suite. For previous revisions and the change log see | 89 of the benchmark suite. For previous revisions and the change log see |
| 88 the <a href="http://v8.googlecode.com/svn/data/benchmarks/current/revisions.html
">revisions</a> page. | 90 the <a href="http://v8.googlecode.com/svn/data/benchmarks/current/revisions.html
">revisions</a> page. |
| 89 </p> | 91 </p> |
| 90 | 92 |
| 91 </td><td style="text-align: center"> | 93 </td><td style="text-align: center"> |
| 92 <div class="run"> | 94 <div class="run"> |
| 93 <div id="status" style="text-align: center; margin-top: 60px; font-size: 120%;
font-weight: bold;">Starting...</div> | 95 <div id="status" style="text-align: center; margin-top: 50px; font-size: 120%;
font-weight: bold;">Starting...</div> |
| 94 <div style="text-align: left; margin: 30px 0 0 90px;" id="results"> | 96 <div style="text-align: left; margin: 30px 0 0 90px;" id="results"> |
| 95 <div> | 97 <div> |
| 96 </div> | 98 </div> |
| 97 </td></tr></table> | 99 </td></tr></table> |
| 98 | 100 |
| 99 </div> | 101 </div> |
| 100 | 102 |
| 101 </body> | 103 </body> |
| 102 </html> | 104 </html> |
| OLD | NEW |