Run details:
Mozilla/5.0 (Linux; Android 7.0; HUAWEI VNS-L31) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.111 Mobile Safari/537.36
Chrome Mobile 81
Android 7.0
Mobile
4 years ago
Test name Executions per second
Math.max/min 439751.8 Ops/sec
if 192471792.0 Ops/sec
ternary 191922944.0 Ops/sec
Script Preparation code:
Tests:
  • Math.max/min

  • if

  • ternary


;