Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes

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

    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/94.0.4606.54 Safari/537.36
Chrome 94 on Linux
View result in a separate tab
Test name Executions per second
Object.hasOwnProperty 3986809.8 Ops/sec
Object in 3643854.8 Ops/sec
Array.indexOf 589.4 Ops/sec
direct 3669373.8 Ops/sec
Array includes 671.6 Ops/sec