checking for neg 1

Benchmark created by checking for -1 on


Preparation HTML

<script>
  var test = -1;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
regular check
if(test === -1){}
ready
bitshift check
if(~test){}
ready
double equal
if(test == -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 checking for -1 on