Test case name | Result |
---|---|
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 | |
_.isNil(a) || _.isNil(b) || _.isNil(c) || _.isNil(d) || _.isNil(e) || _.isNil(f) || _.isNil(g) || _.isNil(h) || _.isNil(i) || _.isNil(j) || _.isNil(k) || _.isNil(l) | |
isNilLodash(a, b, c, d, e, f, g, h, i, j, k, l) | |
isNilLogicalNot(a, b, c, d, e, f, g, h, i, j, k, l) | |
isNilNullUndefined(a, b, c, d, e, f, g, h, i, j, k, l) | |
!a || !b || !c || !d || !e || !f || !g || !h || !i || !j || !k || !l | |
a == null|| b == null || c == null || d == null || e == null || f == null || g == null || h == null || i == null || j == null || k == null || l == null | |
isNilNull(a, b, c, d, e, f, g, h, i, j, k, l) | |
isNilSingleNullUndefined(a) || isNilSingleNullUndefined(b) || isNilSingleNullUndefined(c) || isNilSingleNullUndefined(d) || isNilSingleNullUndefined(e) || isNilSingleNullUndefined(f) || isNilSingleNullUndefined(g) || isNilSingleNullUndefined(h) || isNilSingleNullUndefined(i) || isNilSingleNullUndefined(j) || isNilSingleNullUndefined(k) || isNilSingleNullUndefined(l) |
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 | 8046002.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) | 2471046.0 Ops/sec |
isNilLodash(a, b, c, d, e, f, g, h, i, j, k, l) | 463961.3 Ops/sec |
isNilLogicalNot(a, b, c, d, e, f, g, h, i, j, k, l) | 652021.2 Ops/sec |
isNilNullUndefined(a, b, c, d, e, f, g, h, i, j, k, l) | 1663572.0 Ops/sec |
!a || !b || !c || !d || !e || !f || !g || !h || !i || !j || !k || !l | 8513781.0 Ops/sec |
a == null|| b == null || c == null || d == null || e == null || f == null || g == null || h == null || i == null || j == null || k == null || l == null | 8274436.0 Ops/sec |
isNilNull(a, b, c, d, e, f, g, h, i, j, k, l) | 702948.7 Ops/sec |
isNilSingleNullUndefined(a) || isNilSingleNullUndefined(b) || isNilSingleNullUndefined(c) || isNilSingleNullUndefined(d) || isNilSingleNullUndefined(e) || isNilSingleNullUndefined(f) || isNilSingleNullUndefined(g) || isNilSingleNullUndefined(h) || isNilSingleNullUndefined(i) || isNilSingleNullUndefined(j) || isNilSingleNullUndefined(k) || isNilSingleNullUndefined(l) | 4007222.0 Ops/sec |