Script Preparation code:
Tests:
  • typeof x === "undefined"

  • x === undefined

  • x == undefined

  • x == null

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    typeof x === "undefined"
    x === undefined
    x == undefined
    x == null

    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: one year ago)
Mozilla/5.0 (iPad; CPU OS 15_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.167 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 112 on iOS 15.6
View result in a separate tab
Test name Executions per second
typeof x === "undefined" 14431740.0 Ops/sec
x === undefined 5395423.0 Ops/sec
x == undefined 5355204.0 Ops/sec
x == null 14574360.0 Ops/sec