Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
Chrome 89
Windows
Desktop
3 years ago
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 10221136.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) 3440655.5 Ops/sec
isNilLodash(a, b, c, d, e, f, g, h, i, j, k, l) 569931.8 Ops/sec
isNilLogicalNot(a, b, c, d, e, f, g, h, i, j, k, l) 614275.2 Ops/sec
isNilNullUndefined(a, b, c, d, e, f, g, h, i, j, k, l) 1384168.8 Ops/sec
!a || !b || !c || !d || !e || !f || !g || !h || !i || !j || !k || !l 6122961.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 6221269.5 Ops/sec
isNilNull(a, b, c, d, e, f, g, h, i, j, k, l) 376188.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • 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)


;