JavaScriptCore Benchmarking

Although the core WebKit team has already created their own comprehensive javascript testing suite, I thought it would be fun to throw it into the pile of language implementations I like to play with in my other favorite waste of time.



Of course, it wasn't quite possible to run all tests initially. JavaScriptCore did not have support for handling command line arguments, and was not built to use readline to handle standard input. But a few hours after the initial discussion on #webkit, a revised command line utility was available satisfying all the necessary requirements.

The results are a bit mixed, though the overall score for JavaScriptCore beats a recent CVS version of Spidermonkey. Let the arm's race wage on!

Comments

Unknown said…
It will be interesting to test against the Tamarin powered engine when thats in a usable state.
Paulo Matias said…
enefekt, Tamarin is already usable since a long time.

I was able to run all shootout JavaScript benchmarks under Tamarin some months ago.

I had even rewritten some of the tests for using some JavaScript2.0-only features, like static classes, and compared the results to conventional JavaScript code.

If one of you are interested in getting it running, you can contact me.

Popular Posts