Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/79.0.3945.79 Chrome/79.0.3945.79 Safari/537.36
Chromium 79
Ubuntu
Desktop
4 years ago
Test name Executions per second
Math.max/min 2322004.2 Ops/sec
if 644395136.0 Ops/sec
ternary 647567232.0 Ops/sec
Script Preparation code:
Tests:
  • Math.max/min

  • if

  • ternary


;