Script Preparation code:
AخA
 
var arr = ['1', '2', '3'];
Tests:
  • check true

     
    if (arr.length) {
         return arr;
       }
    return undefined;
  • check false

     
    if (!arr.length) {
          return ;
        }
    return arr;
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    check true
    check false

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
check true 14652589.0 Ops/sec
check false 14760359.0 Ops/sec