parsent vs bitmask

Benchmark created by nazomikan on


Preparation HTML

<script>
  var i;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
parsent
for (i = 0; i < 1000000; i++)(i % 2)
ready
bitmask
for (i = 0; i < 1000000; i++)(i & 1)
ready

Revisions

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

  • Revision 1: published by nazomikan on