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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Chrome 75 on Linux
View result in a separate tab
Test name Executions per second
undefined 2906843.0 Ops/sec
typeof 7814793.0 Ops/sec
in 7890009.0 Ops/sec
hasOwnProperty 6599976.0 Ops/sec
bool 7806467.0 Ops/sec