Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36
Chrome 74
Windows
Desktop
5 years ago
Test name Executions per second
lodash is null test for nullVar 3265386.2 Ops/sec
native is null test for nullVar 9891582.0 Ops/sec
lodash is not null test for nullVar 3172527.8 Ops/sec
native is not null test for nullVar 9922959.0 Ops/sec
lodash is null test for notNullVar 3266020.2 Ops/sec
native is null test for notNullVar 9703695.0 Ops/sec
lodash is not null test for notNullVar 3268992.2 Ops/sec
native is not null test for notNullVar 9835494.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash is null test for nullVar

  • native is null test for nullVar

  • lodash is not null test for nullVar

  • native is not null test for nullVar

  • lodash is null test for notNullVar

  • native is null test for notNullVar

  • lodash is not null test for notNullVar

  • native is not null test for notNullVar