Run details:
Mozilla/5.0 (Linux; Android 11; Redmi Note 9 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36
Chrome Mobile 100
Android
Mobile
2 years ago
Test name Executions per second
Math.max/min 1508788.9 Ops/sec
if 937457600.0 Ops/sec
ternary 936941376.0 Ops/sec
Script Preparation code:
Tests:
  • Math.max/min

  • if

  • ternary