Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool

  • Object.prototype.hasOwnProperty

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    undefined
    typeof
    in
    hasOwnProperty
    bool
    Object.prototype.hasOwnProperty

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
undefined 1562700000.0 Ops/sec
typeof 1562402000.0 Ops/sec
in 1565518000.0 Ops/sec
hasOwnProperty 1566217000.0 Ops/sec
bool 1565604000.0 Ops/sec
Object.prototype.hasOwnProperty 2737397.0 Ops/sec