Run details:
Mozilla/5.0 (Linux; Android 7.0; FRD-L04) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Mobile Safari/537.36
Chrome Mobile 80
Android 7.0
Mobile
4 years ago
Test name Executions per second
Math.max/min 1230095.1 Ops/sec
if 713524672.0 Ops/sec
ternary 714539072.0 Ops/sec
Script Preparation code:
Tests:
  • Math.max/min

  • if

  • ternary