Run details:
Mozilla/5.0 (Linux; Android 10; POT-LX1AF) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Mobile Safari/537.36
Chrome Mobile 84
Android
Mobile
4 years ago
Test name Executions per second
Math.max/min 925578.5 Ops/sec
if 322220576.0 Ops/sec
ternary 323664448.0 Ops/sec
Script Preparation code:
Tests:
  • Math.max/min

  • if

  • ternary


;