Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.71 Safari/537.36
Chrome 76
Linux
Desktop
5 years ago
Test name Executions per second
Math.max/min 3188259.0 Ops/sec
if 755495680.0 Ops/sec
ternary 735195328.0 Ops/sec
Script Preparation code:
Tests:
  • Math.max/min

  • if

  • ternary


;