Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Linux
Desktop
3 months ago
Test name Executions per second
if/if 179744976.0 Ops/sec
if/else if 169341712.0 Ops/sec
switch case 186047712.0 Ops/sec
Script Preparation code:
Tests:
  • if/if

  • if/else if

  • switch case