Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36
Chrome Mobile 120
Android
Mobile
11 months ago
Test name Executions per second
Switch case 33957.4 Ops/sec
if-else 33112.5 Ops/sec
Tests:
  • Switch case

  • if-else


;