Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Chrome 73
Windows
Desktop
5 years ago
Test name Executions per second
lodash is null test for nullVar 4470288.5 Ops/sec
native is null test for nullVar 13644389.0 Ops/sec
lodash is not null test for nullVar 4494017.5 Ops/sec
native is not null test for nullVar 13830376.0 Ops/sec
lodash is null test for notNullVar 4297838.0 Ops/sec
native is null test for notNullVar 13638356.0 Ops/sec
lodash is not null test for notNullVar 4389705.5 Ops/sec
native is not null test for notNullVar 13692526.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