setTimeout anonymous (v2)

Revision 2 of this benchmark created on


Setup

function doSomething() {
        var x = 1+2+3+4+5+6+6+7+8+8+"fpp";
    }

Test runner

Ready to run.

Testing in
TestOps/sec
Anonymous
setTimeout(function() { doSomething(); }, 200);
ready
Named
setTimeout(doSomething, 200);
ready
String
setTimeout("doSomething()", 200);
ready

Revisions

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

  • Revision 1: published by Ojle Nenpleto on
  • Revision 2: published on