Run details:
Mozilla/5.0 (Linux; Android 11; FP4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.9999.0 Mobile Iron Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
Math.max/min 1801609.1 Ops/sec
if 1024353344.0 Ops/sec
ternary 1036402368.0 Ops/sec
Script Preparation code:
Tests:
  • Math.max/min

  • if

  • ternary