Test name | Executions per second |
---|---|
Not empty lodash.head() | 9582851.0 Ops/sec |
Not empty [0] | 28238464.0 Ops/sec |
Empty lodash.head() | 9594222.0 Ops/sec |
Empty [0] | 27460048.0 Ops/sec |
[0] with check | 9896872.0 Ops/sec |
[0] with null check | 7385498.5 Ops/sec |