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.max/min 525238.7 Ops/sec
if 240067888.0 Ops/sec
ternary 239610240.0 Ops/sec
Script Preparation code:
Tests:
  • Math.max/min

  • if

  • ternary


;