Tests:
  • Nullish coalescing (??)

  • Logical OR (||)

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

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

  • JS Compiled ?? (?:)

  • JS Compiled ?? (?:) [short-circuit]

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Nullish coalescing (??)
    Logical OR (||)
    Nullish coalescing (??) [short-circuit]
    Logical OR (||) [short-circuit]
    JS Compiled ?? (?:)
    JS Compiled ?? (?:) [short-circuit]

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 days ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Mobile Safari/537.36 EdgA/132.0.0.0
Chrome Mobile 132 on Android
View result in a separate tab
Test name Executions per second
Nullish coalescing (??) 84215360.0 Ops/sec
Logical OR (||) 83704592.0 Ops/sec
Nullish coalescing (??) [short-circuit] 107816688.0 Ops/sec
Logical OR (||) [short-circuit] 106414608.0 Ops/sec
JS Compiled ?? (?:) 76080736.0 Ops/sec
JS Compiled ?? (?:) [short-circuit] 107635392.0 Ops/sec