Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0
Chrome 124
Windows
Desktop
7 months ago
Test name Executions per second
try-catch control flow (no exception) 171469296.0 Ops/sec
try-catch control flow (thrown exception) 236425.6 Ops/sec
if-else (hits if) 172813472.0 Ops/sec
if-else (hits else) 189469136.0 Ops/sec
Tests:
  • try-catch control flow (no exception)

  • try-catch control flow (thrown exception)

  • if-else (hits if)

  • if-else (hits else)