Run details:
Mozilla/5.0 (Linux; Android 11; SM-M526B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.61 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
Math.max/min 1795264.6 Ops/sec
if 828979008.0 Ops/sec
ternary 833935360.0 Ops/sec
Script Preparation code:
Tests:
  • Math.max/min

  • if

  • ternary


;