Run details:
Mozilla/5.0 (Linux; Android 6.0.1; A0001) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.101 Mobile Safari/537.36
Chrome Mobile 85
Android 6.0.1
Mobile
4 years ago
Test name Executions per second
Math.min 813444.7 Ops/sec
if 234334912.0 Ops/sec
ternary 240216832.0 Ops/sec
Script Preparation code:
Tests:
  • Math.min

  • if

  • ternary


;