Run details:
Mozilla/5.0 (Linux; Android 10; CPH1938) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
Math.max/min 874358.0 Ops/sec
if 334069824.0 Ops/sec
ternary 329523808.0 Ops/sec
Script Preparation code:
Tests:
  • Math.max/min

  • if

  • ternary


;