Script Preparation code:
Tests:
  • array.includes

  • Object.prototype.hasOwnProperty

  • object.hasOwnProperty

  • Reflect.has

  • object[field]

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    array.includes
    Object.prototype.hasOwnProperty
    object.hasOwnProperty
    Reflect.has
    object[field]

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0
Firefox 143 on Windows
View result in a separate tab
Test name Executions per second
array.includes 716.7 Ops/sec
Object.prototype.hasOwnProperty 503251.9 Ops/sec
object.hasOwnProperty 627103.8 Ops/sec
Reflect.has 453113.2 Ops/sec
object[field] 528885.3 Ops/sec