Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Chrome 127
Windows
Desktop
4 months ago
Test name Executions per second
if/if 2162382.5 Ops/sec
if/else if 2106443.8 Ops/sec
multiple vars 9061625.0 Ops/sec
single var 8871654.0 Ops/sec
else 8476568.0 Ops/sec
Script Preparation code:
Tests:
  • if/if

  • if/else if

  • multiple vars

  • single var

  • else