Script Preparation code:
AخA
 
var a = ['2','3','4','5','6','7'];
var j = '3'
Tests:
  • da

     
    a.includes(j)
  • daf

     
    a[0] === j || a[1] === j || a[2] === j || a[3] === j || a[4] === j || a[5] === j
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    da
    daf

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
Chrome 97 on Linux
View result in a separate tab
Test name Executions per second
da 6981596.5 Ops/sec
daf 3886255.0 Ops/sec