Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Linux
Desktop
one year ago
Test name Executions per second
Nullish coalescing (??) 1615894.4 Ops/sec
Logical OR (||) 1548449.0 Ops/sec
Nullish coalescing (??) [short-circuit] 1121428992.0 Ops/sec
Logical OR (||) [short-circuit] 1150521728.0 Ops/sec
Tests:
  • Nullish coalescing (??)

  • Logical OR (||)

  • Nullish coalescing (??) [short-circuit]

  • Logical OR (||) [short-circuit]