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

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.99 Safari/537.36
Chrome 93 on Windows 7
View result in a separate tab
Test name Executions per second
undefined 7619748.0 Ops/sec
typeof 7518953.5 Ops/sec
in 7641676.0 Ops/sec
hasOwnProperty 6963555.0 Ops/sec
bool 7628091.0 Ops/sec