Test name | Executions per second |
---|---|
Not empty lodash.head() | 1671789.0 Ops/sec |
Not empty [0] | 6457553.5 Ops/sec |
Empty lodash.head() | 1617084.6 Ops/sec |
Empty [0] | 4954676.0 Ops/sec |
[0] with check | 1577658.6 Ops/sec |
[0] with null check | 1251985.2 Ops/sec |