v8/benchmarks
kasperl@chromium.org 94a9ebb0a7 Change the name of the Object.prototype.inherits function in
the DeltaBlue benchmark to inheritsFrom to avoid name clashes
when running in Chromium with extensions enabled.

See http://crbug.com/11797. 
Review URL: http://codereview.chromium.org/155205

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2386 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2009-07-08 07:35:14 +00:00
..
base.js Remove duplicate line in benchmarks/base.js 2009-05-26 13:28:51 +00:00
crypto.js Removed the use of Math.random() and new Date() for building 2008-10-02 07:43:46 +00:00
deltablue.js Change the name of the Object.prototype.inherits function in 2009-07-08 07:35:14 +00:00
earley-boyer.js Add new Splay benchmark to the V8 benchmark suite and remove 2009-05-12 08:23:11 +00:00
raytrace.js Add new Splay benchmark to the V8 benchmark suite and remove 2009-05-12 08:23:11 +00:00
README.txt Change the name of the Object.prototype.inherits function in 2009-07-08 07:35:14 +00:00
regexp.js Fixed issue where \x.. and \u.... were rot13-ed in strings (but not in 2009-01-30 13:19:29 +00:00
revisions.html Change the name of the Object.prototype.inherits function in 2009-07-08 07:35:14 +00:00
richards.js Add new Splay benchmark to the V8 benchmark suite and remove 2009-05-12 08:23:11 +00:00
run.html Changed benchmark html and css files to be almost validating HTML 4.01 and CSS. 2009-06-24 10:10:49 +00:00
run.js Add new Splay benchmark to the V8 benchmark suite and remove 2009-05-12 08:23:11 +00:00
splay.js Add new Splay benchmark to the V8 benchmark suite and remove 2009-05-12 08:23:11 +00:00
style.css Changed benchmark html and css files to be almost validating HTML 4.01 and CSS. 2009-06-24 10:10:49 +00:00
v8-logo.png Added version 1 of the V8 benchmark suite to the repository. 2008-09-02 11:06:49 +00:00

V8 Benchmark Suite
==================

This is the V8 benchmark suite: A collection of pure JavaScript
benchmarks that we have used to tune V8. The licenses for the
individual benchmarks are included in the JavaScript files.

In addition to the benchmarks, the suite consists of the benchmark
framework (base.js), which must be loaded before any of the individual
benchmark files, and two benchmark runners: An HTML version (run.html)
and a standalone JavaScript version (run.js).


Changes From Version 1 To Version 2
===================================

For version 2 the crypto benchmark was fixed.  Previously, the
decryption stage was given plaintext as input, which resulted in an
error.  Now, the decryption stage is given the output of the
encryption stage as input.  The result is checked against the original
plaintext.  For this to give the correct results the crypto objects
are reset for each iteration of the benchmark.  In addition, the size
of the plain text has been increased a little and the use of
Math.random() and new Date() to build an RNG pool has been removed.

Other benchmarks were fixed to do elementary verification of the
results of their calculations.  This is to avoid accidentally
obtaining scores that are the result of an incorrect JavaScript engine
optimization.


Changes From Version 2 To Version 3
===================================

Version 3 adds a new benchmark, RegExp.  The RegExp benchmark is
generated by loading 50 of the most popular pages on the web and
logging all regexp operations performed.  Each operation is given a
weight that is calculated from an estimate of the popularity of the
pages where it occurs and the number of times it is executed while
loading each page.  Finally the literal letters in the data are
encoded using ROT13 in a way that does not affect how the regexps
match their input.


Changes from Version 3 to Version 4
===================================

The Splay benchmark is a newcomer in version 4.  It manipulates a
splay tree by adding and removing data nodes, thus exercising the
memory management subsystem of the JavaScript engine.

Furthermore, all the unused parts of the Prototype library were
removed from the RayTrace benchmark. This does not affect the running
of the benchmark.


Changes from Version 4 to Version 5
===================================

Removed duplicate line in random seed code, and changed the name of
the Object.prototype.inherits function in the DeltaBlue benchmark to
inheritsFrom to avoid name clashes when running in Chromium with
extensions enabled.