HTML Preparation code:
Script Preparation code:
Tests:
  • value == null

  • value == undefined

  • value === null

  • value === undefined

  • value === null || value === undefined

  • _.isNil(value)

  • value != null

  • value != undefined

  • value !== null

  • value !== undefined

  • value !== null && value !== undefined

  • !_.isNil(value)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    value == null
    value == undefined
    value === null
    value === undefined
    value === null || value === undefined
    _.isNil(value)
    value != null
    value != undefined
    value !== null
    value !== undefined
    value !== null && value !== undefined
    !_.isNil(value)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 18 days ago)
Mozilla/5.0 (Android 13; Mobile; rv:131.0) Gecko/131.0 Firefox/131.0
Firefox Mobile 131 on Android
View result in a separate tab
Test name Executions per second
value == null 394961408.0 Ops/sec
value == undefined 393351648.0 Ops/sec
value === null 395240672.0 Ops/sec
value === undefined 392592992.0 Ops/sec
value === null || value === undefined 314505888.0 Ops/sec
_.isNil(value) 392791744.0 Ops/sec
value != null 394299680.0 Ops/sec
value != undefined 393344128.0 Ops/sec
value !== null 394551392.0 Ops/sec
value !== undefined 393158240.0 Ops/sec
value !== null && value !== undefined 314126752.0 Ops/sec
!_.isNil(value) 392253920.0 Ops/sec


;