Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes

  • has

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Object.hasOwnProperty
    Object in
    Array.indexOf
    direct
    Array includes
    has

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119 on Windows
View result in a separate tab
Test name Executions per second
Object.hasOwnProperty 5246364.5 Ops/sec
Object in 4942895.5 Ops/sec
Array.indexOf 1045242.4 Ops/sec
direct 4953886.5 Ops/sec
Array includes 1029488.4 Ops/sec
has 3413079.0 Ops/sec


;