Use Google's v8 benchmark suite for performance testing

RESOLVED FIXED

Status

Rhino
Core
--
enhancement
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: rspeyer, Unassigned)

Tracking

Details

(URL)

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Build Identifier: Rhino 1.7 release 2 2009 03 22

Include the performance benchmarks from v8.

Reproducible: Always




Provide benchmark tests so that we can check for performance improvements or regressions as the implementation progresses.
(Reporter)

Comment 1

9 years ago
Created attachment 376918 [details] [diff] [review]
Added benchmark scripts, a runner a script and an ant task

Can now be run with:
$ ant benchmark

Comment 2

9 years ago
Great, thanks!

Looking at http://v8.googlecode.com/svn/data/benchmarks/v4/run.html I see that the current version of the benchmark appears to include "Splay" but I don't see that test when I run from ant. Is it a different version of the benchmark?
(Reporter)

Comment 3

9 years ago
Yes, it's currently based on v3. I'll upgrade it to v4 to include the splay tree test.
(Reporter)

Comment 4

9 years ago
Created attachment 379168 [details] [diff] [review]
v8 benchmark suite version 4

Version 4 of the v8 benchmark suite. The new splay.js file tests memory usage, and I had to increase the JVM memory to 256MB to avoid an OutOfMemory exception.
Attachment #376918 - Attachment is obsolete: true
(Reporter)

Updated

9 years ago

Comment 5

9 years ago
Committed, with minor modifications to make it easier to add other benchmarks in the future.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.