| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>V8 Benchmark Suite Revisions</title> | 3 <title>V8 Benchmark Suite Revisions</title> |
| 4 <link type="text/css" rel="stylesheet" href="style.css"></link> | 4 <link type="text/css" rel="stylesheet" href="style.css"></link> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <div> | 7 <div> |
| 8 <div class="title"><h1>V8 Benchmark Suite Revisions</h1></div> | 8 <div class="title"><h1>V8 Benchmark Suite Revisions</h1></div> |
| 9 <table> | 9 <table> |
| 10 <tr> | 10 <tr> |
| 11 <td class="contents"> | 11 <td class="contents"> |
| 12 | 12 |
| 13 <p> | 13 <p> |
| 14 | 14 |
| 15 The V8 benchmark suite is changed from time to time as we fix bugs or | 15 The V8 benchmark suite is changed from time to time as we fix bugs or |
| 16 expand the scope of the benchmarks. Here is a list of revisions, with | 16 expand the scope of the benchmarks. Here is a list of revisions, with |
| 17 a description of the changes made. Note that benchmark results are | 17 a description of the changes made. Note that benchmark results are |
| 18 not comparable unless both results are run with the same revision of | 18 not comparable unless both results are run with the same revision of |
| 19 the benchmark suite. | 19 the benchmark suite. |
| 20 | 20 |
| 21 </p> | 21 </p> |
| 22 | 22 |
| 23 <div class="subtitle"><h3>Version 4 (<a href="http://v8.googlecode.com/svn/data/
benchmarks/v4/run.html">link</a>)</h3></div> |
| 24 |
| 25 <p>The <i>Splay</i> benchmark is a newcomer in version 4. It |
| 26 manipulates a splay tree by adding and removing data nodes, thus |
| 27 exercising the memory management subsystem of the JavaScript engine. |
| 28 </p> |
| 29 |
| 30 <p> |
| 31 Furthermore, all the unused parts of the Prototype library were |
| 32 removed from the RayTrace benchmark. This does not affect the running |
| 33 of the benchmark. |
| 34 </p> |
| 35 |
| 36 |
| 23 <div class="subtitle"><h3>Version 3 (<a href="http://v8.googlecode.com/svn/data/
benchmarks/v3/run.html">link</a>)</h3></div> | 37 <div class="subtitle"><h3>Version 3 (<a href="http://v8.googlecode.com/svn/data/
benchmarks/v3/run.html">link</a>)</h3></div> |
| 24 | 38 |
| 25 <p>Version 3 adds a new benchmark, <i>RegExp</i>. The RegExp | 39 <p>Version 3 adds a new benchmark, <i>RegExp</i>. The RegExp |
| 26 benchmark is generated by loading 50 of the most popular pages on the | 40 benchmark is generated by loading 50 of the most popular pages on the |
| 27 web and logging all regexp operations performed. Each operation is | 41 web and logging all regexp operations performed. Each operation is |
| 28 given a weight that is calculated from an estimate of the popularity | 42 given a weight that is calculated from an estimate of the popularity |
| 29 of the pages where it occurs and the number of times it is executed | 43 of the pages where it occurs and the number of times it is executed |
| 30 while loading each page. Finally the literal letters in the data are | 44 while loading each page. Finally the literal letters in the data are |
| 31 encoded using ROT13 in a way that does not affect how the regexps | 45 encoded using ROT13 in a way that does not affect how the regexps |
| 32 match their input. | 46 match their input. |
| 33 </p> | 47 </p> |
| 34 | 48 |
| 49 |
| 35 <div class="subtitle"><h3>Version 2 (<a href="http://v8.googlecode.com/svn/data/
benchmarks/v2/run.html">link</a>)</h3></div> | 50 <div class="subtitle"><h3>Version 2 (<a href="http://v8.googlecode.com/svn/data/
benchmarks/v2/run.html">link</a>)</h3></div> |
| 36 | 51 |
| 37 <p>For version 2 the crypto benchmark was fixed. Previously, the | 52 <p>For version 2 the Crypto benchmark was fixed. Previously, the |
| 38 decryption stage was given plaintext as input, which resulted in an | 53 decryption stage was given plaintext as input, which resulted in an |
| 39 error. Now, the decryption stage is given the output of the | 54 error. Now, the decryption stage is given the output of the |
| 40 encryption stage as input. The result is checked against the original | 55 encryption stage as input. The result is checked against the original |
| 41 plaintext. For this to give the correct results the crypto objects | 56 plaintext. For this to give the correct results the crypto objects |
| 42 are reset for each iteration of the benchmark. In addition, the size | 57 are reset for each iteration of the benchmark. In addition, the size |
| 43 of the plain text has been increased a little and the use of | 58 of the plain text has been increased a little and the use of |
| 44 Math.random() and new Date() to build an RNG pool has been | 59 Math.random() and new Date() to build an RNG pool has been |
| 45 removed. </p> | 60 removed. </p> |
| 46 | 61 |
| 47 <p>Other benchmarks were fixed to do elementary verification of the | 62 <p>Other benchmarks were fixed to do elementary verification of the |
| 48 results of their calculations. This is to avoid accidentally | 63 results of their calculations. This is to avoid accidentally |
| 49 obtaining scores that are the result of an incorrect JavaScript engine | 64 obtaining scores that are the result of an incorrect JavaScript engine |
| 50 optimization.</p> | 65 optimization.</p> |
| 51 | 66 |
| 67 |
| 52 <div class="subtitle"><h3>Version 1 (<a href="http://v8.googlecode.com/svn/data/
benchmarks/v1/run.html">link</a>)</h3></div> | 68 <div class="subtitle"><h3>Version 1 (<a href="http://v8.googlecode.com/svn/data/
benchmarks/v1/run.html">link</a>)</h3></div> |
| 53 | 69 |
| 54 <p>Initial release.</p> | 70 <p>Initial release.</p> |
| 55 | 71 |
| 56 </td><td style="text-align: center"> | 72 </td><td style="text-align: center"> |
| 57 </td></tr></table> | 73 </td></tr></table> |
| 58 | 74 |
| 59 </div> | 75 </div> |
| 60 | 76 |
| 61 </body> | 77 </body> |
| 62 </html> | 78 </html> |
| OLD | NEW |