blob: f7dfd424a504b4edd867ab6fc7862a2ab61ffcfd [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<!--
Copyright (C) 2007 Apple Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<title>SunSpider JavaScript Benchmark</title>
<link rel="stylesheet" href="sunspider.css"></link>
</head>
<body>
<h2><span id="logo">&#x2600;</span>SunSpider JavaScript Benchmark</h2>
<p>This is SunSpider, a JavaScript benchmark. This benchmark tests the
core JavaScript language only, not the DOM or other browser APIs. It
is designed to compare different versions of the same browser, and
different browsers to each other. Unlike many widely available
JavaScript benchmarks, this test is:</p>
<dl>
<dt>Real World<dt>
<dd>This test mostly avoids microbenchmarks, and tries to focus on
the kinds of actual problems developers solve with JavaScript today,
and the problems they may want to tackle in the future as the language
gets faster. This includes tests to generate a tagcloud from JSON
input, a 3D raytracer, cryptography tests, code decompression, and
many more examples. There are a few microbenchmarkish things, but they
mostly represent real performance problems that developers have
encountered.</dd>
<dt>Balanced<dt>
<dd>This test is balanced between different areas of the language and
different types of code. It's not all math, all string processing, or
all timing simple loops. In addition to having tests in many
categories, the individual tests were balanced to take similar amounts
of time on currently shipping versions of popular browsers.</dd>
<dt>Statistically Sound<dt>
<dd>One of the challenges of benchmarking is knowing how much noise
you have in your measurements. This benchmark runs each test multiple
times and determines an error range (technically, a 95% confidence
interval). In addition, in comparison mode it tells you if you have
enough data to determine if the difference is statistically
significant.</dd>
</dl>
<p><a href="sunspider-driver.html">Start Now!</a><br>
<small>(When you run the benchmark, be patient - it loops through all of the
test cases five times and can take a minute or longer to complete.)</small></p>
</body>
</html>