try-catch-call

Benchmark created on


Setup

function f() {
      var j=0;
      for (i=0;i<10000;i++) j++;
    }

Test runner

Ready to run.

Testing in
TestOps/sec
within try catch
try { 
  var j=0;
  for (i=0;i<10000;i++) j++;
} catch(e) {
}
ready
within func
try { 
  f();
} catch(e) {
}
ready

Revisions

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