Test name | Executions per second |
---|---|
a === null || a === undefined || b === null || b === undefined || c === null || c === undefined || d === null || d === undefined || e === null || e === undefined || f === null || f === undefined || g === null || g === undefined || h === null || h === undefined || i === null || i === undefined || j === null || j === undefined || k === null || k === undefined || l === null || l === undefined | 10260557.0 Ops/sec |
_.isNil(a) || _.isNil(b) || _.isNil(c) || _.isNil(d) || _.isNil(e) || _.isNil(f) || _.isNil(g) || _.isNil(h) || _.isNil(i) || _.isNil(j) || _.isNil(k) || _.isNil(l) | 3275902.0 Ops/sec |
isNilLodash(a, b, c, d, e, f, g, h, i, j, k, l) | 587279.2 Ops/sec |
isNilLogicalNot(a, b, c, d, e, f, g, h, i, j, k, l) | 760659.1 Ops/sec |
isNilNullUndefined(a, b, c, d, e, f, g, h, i, j, k, l) | 1899415.0 Ops/sec |