setTimeout anonymous

Benchmark created by Ojle Nenpleto 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(); }, 100);
ready
Named
setTimeout(doSomething, 100);
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