dddtry

Benchmark created on


Preparation HTML

<script>
  function f1(a, b) {
   if (e) {
    return false;
   } else {
    return b;
   }
  }
  
  function f2(a, b) {
   try {
    return b.b.b
   } catch (e) {
    return false;
   }
  }
  }
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
try
f1({});
ready
test
f2({});
ready

Revisions

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