Noop vs noop with null statement

Benchmark created on


Preparation HTML

<script>
  function noop1() {
  
  }
  
  function noop2() {
   null;
  }
  
  function noop3() {
   true;
  }
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Empty Noop
noop1();
ready
Noop with Null
noop2();
ready
Noop with True
noop3();
ready

Revisions

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