2008-09-02 11:06:49 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>V8 Benchmark Suite</title>
|
|
|
|
<script type="text/javascript" src="base.js"></script>
|
|
|
|
<script type="text/javascript" src="richards.js"></script>
|
|
|
|
<script type="text/javascript" src="deltablue.js"></script>
|
|
|
|
<script type="text/javascript" src="crypto.js"></script>
|
|
|
|
<script type="text/javascript" src="raytrace.js"></script>
|
|
|
|
<script type="text/javascript" src="earley-boyer.js"></script>
|
2009-01-30 11:35:15 +00:00
|
|
|
<script type="text/javascript" src="regexp.js"></script>
|
2008-12-02 10:08:39 +00:00
|
|
|
<link type="text/css" rel="stylesheet" href="style.css"></link>
|
2008-09-02 11:06:49 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
var completed = 0;
|
|
|
|
var benchmarks = BenchmarkSuite.CountBenchmarks();
|
2008-10-22 11:55:08 +00:00
|
|
|
var success = true;
|
|
|
|
|
2008-09-02 11:06:49 +00:00
|
|
|
function ShowProgress(name) {
|
|
|
|
var status = document.getElementById("status");
|
|
|
|
var percentage = ((++completed) / benchmarks) * 100;
|
|
|
|
status.innerHTML = "Running: " + Math.round(percentage) + "% completed.";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function AddResult(name, result) {
|
2009-01-13 09:27:47 +00:00
|
|
|
var text = name + ': ' + result;
|
2008-09-02 11:06:49 +00:00
|
|
|
var results = document.getElementById("results");
|
|
|
|
results.innerHTML += (text + "<br/>");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-10-22 11:55:08 +00:00
|
|
|
function AddError(name, error) {
|
|
|
|
AddResult(name, '<b>error</b>');
|
|
|
|
success = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-09-02 11:06:49 +00:00
|
|
|
function AddScore(score) {
|
|
|
|
var status = document.getElementById("status");
|
2008-10-22 11:55:08 +00:00
|
|
|
if (success) {
|
2009-01-13 09:27:47 +00:00
|
|
|
status.innerHTML = "Score: " + score;
|
2008-10-22 11:55:08 +00:00
|
|
|
}
|
2008-09-02 11:06:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function Run() {
|
|
|
|
BenchmarkSuite.RunSuites({ NotifyStep: ShowProgress,
|
2008-10-22 11:55:08 +00:00
|
|
|
NotifyError: AddError,
|
2008-09-02 11:06:49 +00:00
|
|
|
NotifyResult: AddResult,
|
|
|
|
NotifyScore: AddScore });
|
|
|
|
}
|
|
|
|
|
|
|
|
function Load() {
|
|
|
|
var version = BenchmarkSuite.version;
|
|
|
|
document.getElementById("version").innerHTML = version;
|
|
|
|
window.setTimeout(Run, 200);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body onLoad="Load()">
|
|
|
|
<div>
|
|
|
|
<div class="title"><h1>V8 Benchmark Suite - version <span id="version">?</span></h1></div>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td class="contents">
|
|
|
|
This page contains a suite of pure JavaScript benchmarks that we have
|
|
|
|
used to tune V8. The final score is computed as the geometric mean of
|
|
|
|
the individual results to make it independent of the running times of
|
|
|
|
the individual benchmarks and of a reference system (score
|
|
|
|
100). Scores are not comparable across benchmark suite versions and
|
|
|
|
higher scores means better performance: <em>Bigger is better!</em>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><b>Richards</b><br/>OS kernel simulation benchmark, originally written in BCPL by Martin Richards (<i>539 lines</i>).</li>
|
|
|
|
<li><b>DeltaBlue</b><br/>One-way constraint solver, originally written in Smalltalk by John Maloney and Mario Wolczko (<i>880 lines</i>).</li>
|
|
|
|
<li><b>Crypto</b><br/>Encryption and decryption benchmark based on code by Tom Wu (<i>1689 lines</i>).</li>
|
|
|
|
<li><b>RayTrace</b><br/>Ray tracer benchmark based on code by <a href="http://flog.co.nz/">Adam Burmister</a> (<i>3418 lines</i>).</li>
|
|
|
|
<li><b>EarleyBoyer</b><br/>Classic Scheme benchmarks, translated to JavaScript by Florian Loitsch's Scheme2Js compiler (<i>4682 lines</i>).</li>
|
2009-01-30 11:35:15 +00:00
|
|
|
<li><b>RegExp</b><br/>Regular expression benchmark generated by extracting regular expression operations from 50 of the most popular web pages.
|
|
|
|
(<i>4758 lines</i>)
|
|
|
|
</li>
|
2008-09-02 11:06:49 +00:00
|
|
|
</ul>
|
|
|
|
|
2008-12-02 10:08:39 +00:00
|
|
|
<p>
|
|
|
|
Note that benchmark results are not comparable unless both results are
|
|
|
|
run with the same revision of the benchmark suite. We will be making
|
|
|
|
revisions from time to time in order to fix bugs or expand the scope
|
|
|
|
of the benchmark suite. For previous revisions and the change log see
|
|
|
|
the <a href="http://v8.googlecode.com/svn/data/benchmarks/current/revisions.html">revisions</a> page.
|
|
|
|
</p>
|
2008-09-25 13:48:27 +00:00
|
|
|
|
2008-09-02 11:06:49 +00:00
|
|
|
</td><td style="text-align: center">
|
|
|
|
<div class="run">
|
2009-01-30 11:35:15 +00:00
|
|
|
<div id="status" style="text-align: center; margin-top: 60px; font-size: 120%; font-weight: bold;">Starting...</div>
|
2008-09-02 11:06:49 +00:00
|
|
|
<div style="text-align: left; margin: 30px 0 0 90px;" id="results">
|
|
|
|
<div>
|
|
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|