Function vs function

Benchmark created on


Preparation HTML

<script>
var ab = new Function("return Math.random()*100");
var ba = function(){return Math.random()*100}
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Function
ab();
ready
function
ba();
ready

Revisions

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