shortcircuiteval

Benchmark created by Bhaskar Melkani on


Setup

var test = false;
    var sum = 0;

Test runner

Ready to run.

Testing in
TestOps/sec
if
if(!test){
  sum = sum+1;    // Test is false.
}
 
ready
||
sum = ( test || sum+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 Bhaskar Melkani on