HTML Preparation code:
Script Preparation code:
Tests:
  • _.isEmpty

  • arr.length === 0

  • arr.length

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
Chrome 79 on Mac OS X 10.13.6
View result in a separate tab
Test name Executions per second
_.isEmpty 3345465.0 Ops/sec
arr.length === 0 8204990.5 Ops/sec
arr.length 8121596.0 Ops/sec


;