Run details:
Mozilla/5.0 (Linux; Android 11) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.125 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
Math.min 1352640.0 Ops/sec
if 391627840.0 Ops/sec
ternary 392311200.0 Ops/sec
Script Preparation code:
Tests:
  • Math.min

  • if

  • ternary


;