Tests:
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: one year 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
Nullish coalescing (??) [short-circuit]
107.8M/s
JS Compiled ?? (?:) [short-circuit]
107.6M/s
Logical OR (||) [short-circuit]
106.4M/s
Nullish coalescing (??)
84.2M/s
Logical OR (||)
83.7M/s
JS Compiled ?? (?:)
76.1M/s
View exact numbers
Test name Executions per second
Nullish coalescing (??) [short-circuit] 107,816,688 Ops/sec
JS Compiled ?? (?:) [short-circuit] 107,635,392 Ops/sec
Logical OR (||) [short-circuit] 106,414,608 Ops/sec
Nullish coalescing (??) 84,215,360 Ops/sec
Logical OR (||) 83,704,592 Ops/sec
JS Compiled ?? (?:) 76,080,736 Ops/sec