Script Preparation code:
Tests:
  • !arr.length

  • arr.length === 0

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    !arr.length
    arr.length === 0

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Linux; Android 12; M2102J20SI) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4710.6 Mobile Safari/537.36
Chrome Mobile 98 on Android
View result in a separate tab
Test name Executions per second
!arr.length 2554677.2 Ops/sec
arr.length === 0 2565542.2 Ops/sec


;