Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool

  • undefined2

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    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: 5 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36
Chrome 73 on Mac OS X 10.14.3
View result in a separate tab
Test name Executions per second
undefined 4648858.0 Ops/sec
typeof 14641500.0 Ops/sec
in 13467060.0 Ops/sec
hasOwnProperty 13059520.0 Ops/sec
bool 14518370.0 Ops/sec
undefined2 14556750.0 Ops/sec