Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
equal null
13.9M/s
typeof
13.0M/s
strict equal undefined
5.8M/s

Fastest: equal null (2.4x faster)

View exact numbers
  • equal null: 13,932,729 ops/sec
  • typeof: 13,048,696 ops/sec
  • strict equal undefined: 5,826,321 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    typeof
    strict equal undefined
    equal null

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 OPR/110.0.0.0
Opera 110 on Windows
View result in a separate tab
equal null
7.3M/s
typeof
7.3M/s
strict equal undefined
3.8M/s
View exact numbers
Test name Executions per second
equal null 7,295,690 Ops/sec
typeof 7,283,049 Ops/sec
strict equal undefined 3,752,785 Ops/sec