Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    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: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Chrome 78 on Mac OS X 10.14.6
View result in a separate tab
Test name Executions per second
undefined 6313477.0 Ops/sec
typeof 18507130.0 Ops/sec
in 18799710.0 Ops/sec
hasOwnProperty 16725750.0 Ops/sec
bool 18782660.0 Ops/sec