diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2010-11-11 11:50:38 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2010-11-16 07:32:26 (GMT) |
commit | 136cd834aba49904226f1be6c3077f45db78b0dc (patch) | |
tree | 443a742fc4f98de11636c7fa8a6776d1bc823059 /tests/benchmarks/script | |
parent | 71fdd7b0420d75c8bc147867dbfccf5077ed5a9f (diff) | |
download | Qt-136cd834aba49904226f1be6c3077f45db78b0dc.zip Qt-136cd834aba49904226f1be6c3077f45db78b0dc.tar.gz Qt-136cd834aba49904226f1be6c3077f45db78b0dc.tar.bz2 |
Add version information for imported JS benchmarks
The benchmarks are subject to change, so it's nice to know
which versions are in the Qt repository.
Diffstat (limited to 'tests/benchmarks/script')
-rw-r--r-- | tests/benchmarks/script/sunspider/tests/VERSION | 1 | ||||
-rw-r--r-- | tests/benchmarks/script/v8/tests/README.txt | 79 |
2 files changed, 80 insertions, 0 deletions
diff --git a/tests/benchmarks/script/sunspider/tests/VERSION b/tests/benchmarks/script/sunspider/tests/VERSION new file mode 100644 index 0000000..6aa91fb --- /dev/null +++ b/tests/benchmarks/script/sunspider/tests/VERSION @@ -0,0 +1 @@ +SunSpider 0.9.1 diff --git a/tests/benchmarks/script/v8/tests/README.txt b/tests/benchmarks/script/v8/tests/README.txt new file mode 100644 index 0000000..6676f37 --- /dev/null +++ b/tests/benchmarks/script/v8/tests/README.txt @@ -0,0 +1,79 @@ +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. + + +Changes from Version 5 to Version 6 +=================================== + +Removed dead code from the RayTrace benchmark and fixed a couple of +typos in the DeltaBlue implementation. Changed the Splay benchmark to +avoid converting the same numeric key to a string over and over again +and to avoid inserting and removing the same element repeatedly thus +increasing pressure on the memory subsystem. Changed the RegExp +benchmark to exercise the regular expression engine on different +input strings. + +Furthermore, the benchmark runner was changed to run the benchmarks +for at least a few times to stabilize the reported numbers on slower +machines. |