Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Chrome 92
Windows
Desktop
3 years ago
Test name Executions per second
_.isNull 836890.2 Ops/sec
_.isUndefined 834663.6 Ops/sec
_.isNil 832575.9 Ops/sec
== null 2526301.5 Ops/sec
=== null 2527057.0 Ops/sec
=== undefined 866768.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.isNull

  • _.isUndefined

  • _.isNil

  • == null

  • === null

  • === undefined