Script Preparation code:
Tests:

Historical Performance Data aggregated from 6 community runs

Desktop Results:
Chrome 6 runs
nonexist null
25.9M/s
exist null
23.2M/s
exist hasOwnProperty
23.2M/s
nonexist hasOwnProperty
22.6M/s

Fastest: nonexist null (1.1x faster)

View exact numbers
  • nonexist null: 25,852,736 ops/sec
  • exist null: 23,245,372 ops/sec
  • exist hasOwnProperty: 23,168,494 ops/sec
  • nonexist hasOwnProperty: 22,627,090 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
    exist null
    exist hasOwnProperty
    nonexist null
    nonexist hasOwnProperty

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:139.0) Gecko/20100101 Firefox/139.0
Firefox 139 on Windows
View result in a separate tab
exist hasOwnProperty
481.1M/s
nonexist hasOwnProperty
478.2M/s
nonexist null
474.8M/s
exist null
463.0M/s
View exact numbers
Test name Executions per second
exist hasOwnProperty 481,050,464 Ops/sec
nonexist hasOwnProperty 478,193,760 Ops/sec
nonexist null 474,819,392 Ops/sec
exist null 462,952,544 Ops/sec