Run details:
Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
Math.min 2595004.0 Ops/sec
if 800661440.0 Ops/sec
ternary 807210048.0 Ops/sec
Script Preparation code:
Tests:
  • Math.min

  • if

  • ternary


;