Script Preparation code:
Tests:
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: one year 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
object.hasOwnProperty
627K/s
object[field]
529K/s
Object.prototype.hasOwnProperty
503K/s
Reflect.has
453K/s
array.includes
717/s
View exact numbers
Test name Executions per second
object.hasOwnProperty 627,104 Ops/sec
object[field] 528,885 Ops/sec
Object.prototype.hasOwnProperty 503,252 Ops/sec
Reflect.has 453,113 Ops/sec
array.includes 717 Ops/sec