Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Windows
Desktop
8 days ago
Test name Executions per second
try-catch control flow (no exception) 69640200.0 Ops/sec
try-catch control flow (thrown exception) 128923.2 Ops/sec
if-else (hits if) 76534992.0 Ops/sec
if-else (hits else) 69839704.0 Ops/sec
Tests:
  • try-catch control flow (no exception)

  • try-catch control flow (thrown exception)

  • if-else (hits if)

  • if-else (hits else)