Compilation Performance

JavaScript performance comparison

Test case created by Sam Blowes

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
Long Variable Name
var abcdefghijklmnopqrstuvwxyz = 1;
pending…
Short Variable Name
var a = 1;
pending…
Un-minified function
var b = function(){
// Here is a comment
// And another
                                                                                                                        // White space
return true;
}
pending…
Minified Function
var b = function(){return true}
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:

0 comments

Add a comment