Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool

  • obj[key]

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    undefined
    typeof
    in
    hasOwnProperty
    bool
    obj[key]

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 OPR/119.0.0.0
Opera 119 on Windows
View result in a separate tab
Test name Executions per second
undefined 239102112.0 Ops/sec
typeof 254191936.0 Ops/sec
in 253378608.0 Ops/sec
hasOwnProperty 159830912.0 Ops/sec
bool 241523968.0 Ops/sec
obj[key] 261477408.0 Ops/sec