Chrome Directory

Google Chrome information and resources

Building and Running V8 JavaScript Engine Benchmarks Using Mac OS X Leopard

without comments

I followed the instructions here. The only thing I needed to install was Scons but that was very straight forward. Just download the tar.gz file from here and run the following command in the uncompressed directory:

tar -xzf scons-1.0.0.tar.gz
cd scons-1.0.0
sudo python setup.py install

Now you’re ready to download and build V8:

cd ~/projects/thirdparty
svn co http://v8.googlecode.com/svn/trunk/ v8-readonly
cd v8-readonly
scons
scons sample=shell

Everything should be built and now you can download the benchmarks and run them:

./shell run.js

Here’s the output I got:

Written by shane

September 2nd, 2008 at 8:52 pm

Posted in V8 Development

Leave a Reply