Comparing + and |

Benchmark created by Sebmaster on


Preparation HTML

<script>
  var a = 109;
  var b = 26112;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Using binary operator
var num = a | b;
ready
Using addition
var num = a + b;
ready

Revisions

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

  • Revision 1: published by Sebmaster on