closuretest

JavaScript performance comparison

Test case created by Emory

Preparation code

<script>
function F()
{
return function(){};
}
f1=F(5)
f2=function(){}
</script>

Test runner

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

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
Function
f2();
pending…
Closure
f1();
pending…

You can edit these tests or add even more tests to this page by appending /edit to the URL.

Compare results of other browsers

0 comments

Add a comment