Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool

  • Undefined2

  • undefined3

  • undefined4

  • bool2

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    undefined
    typeof
    in
    hasOwnProperty
    bool
    Undefined2
    undefined3
    undefined4
    bool2

    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: 3 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79 on Windows
View result in a separate tab
Test name Executions per second
undefined 91090530.0 Ops/sec
typeof 219349400.0 Ops/sec
in 132360500.0 Ops/sec
hasOwnProperty 131976800.0 Ops/sec
bool 219486400.0 Ops/sec
Undefined2 95855220.0 Ops/sec
undefined3 96450120.0 Ops/sec
undefined4 96566920.0 Ops/sec
bool2 233647300.0 Ops/sec