The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / deps / v8 / benchmarks / run.html @ 40c0f755

History | View | Annotate | Download (3.69 KB)

1
<html>
2
<head>
3
<title>V8 Benchmark Suite</title>
4
<script type="text/javascript" src="base.js"></script>
5
<script type="text/javascript" src="richards.js"></script>
6
<script type="text/javascript" src="deltablue.js"></script>
7
<script type="text/javascript" src="crypto.js"></script>
8
<script type="text/javascript" src="raytrace.js"></script>
9
<script type="text/javascript" src="earley-boyer.js"></script>
10
<script type="text/javascript" src="regexp.js"></script>
11
<link type="text/css" rel="stylesheet" href="style.css"></link>
12
<script type="text/javascript">
13
var completed = 0;
14
var benchmarks = BenchmarkSuite.CountBenchmarks();
15
var success = true;
16

17
function ShowProgress(name) {
18
  var status = document.getElementById("status");
19
  var percentage = ((++completed) / benchmarks) * 100;
20
  status.innerHTML = "Running: " + Math.round(percentage) + "% completed.";
21
}
22

23

24
function AddResult(name, result) {
25
  var text = name + ': ' + result;
26
  var results = document.getElementById("results");
27
  results.innerHTML += (text + "<br/>");  
28
}
29

30

31
function AddError(name, error) {
32
  AddResult(name, '<b>error</b>');
33
  success = false;
34
}
35

36

37
function AddScore(score) {
38
  var status = document.getElementById("status");
39
  if (success) {
40
    status.innerHTML = "Score: " + score;
41
  }
42
}
43

44

45
function Run() {
46
  BenchmarkSuite.RunSuites({ NotifyStep: ShowProgress,
47
                             NotifyError: AddError,
48
                             NotifyResult: AddResult,
49
                             NotifyScore: AddScore }); 
50
}
51

52
function Load() {
53
  var version = BenchmarkSuite.version;
54
  document.getElementById("version").innerHTML = version;
55
  window.setTimeout(Run, 200);
56
}
57
</script>
58
</head>
59
<body onLoad="Load()">
60
<div>
61
  <div class="title"><h1>V8 Benchmark Suite - version <span id="version">?</span></h1></div>
62
  <table>
63
    <tr>
64
      <td class="contents">
65
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
the individual results to make it independent of the running times of
68
the individual benchmarks and of a reference system (score
69
100). Scores are not comparable across benchmark suite versions and
70
higher scores means better performance: <em>Bigger is better!</em>
71

    
72
<ul>
73
<li><b>Richards</b><br/>OS kernel simulation benchmark, originally written in BCPL by Martin Richards (<i>539 lines</i>).</li>
74
<li><b>DeltaBlue</b><br/>One-way constraint solver, originally written in Smalltalk 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 Wu (<i>1689 lines</i>).</li>
76
<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>
77
<li><b>EarleyBoyer</b><br/>Classic Scheme benchmarks, translated to JavaScript by Florian Loitsch's Scheme2Js compiler (<i>4682 lines</i>).</li>
78
<li><b>RegExp</b><br/>Regular expression benchmark generated by extracting regular expression operations from 50 of the most popular web pages
79
(<i>4758 lines</i>).
80
</li>
81
</ul>
82

    
83
<p>
84
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
86
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
88
the <a href="http://v8.googlecode.com/svn/data/benchmarks/current/revisions.html">revisions</a> page.
89
</p>
90

    
91
</td><td style="text-align: center">
92
<div class="run">
93
  <div id="status" style="text-align: center; margin-top: 60px; font-size: 120%; font-weight: bold;">Starting...</div>
94
  <div style="text-align: left; margin: 30px 0 0 90px;" id="results">
95
  <div>
96
</div>
97
</td></tr></table>
98

    
99
</div>
100

    
101
</body>
102
</html>