Run details:
Mozilla/5.0 (Android 10; Mobile; rv:99.0) Gecko/99.0 Firefox/99.0
Firefox Mobile 99
Android
Mobile
2 years ago
Test name Executions per second
Math.max/min 16802472.0 Ops/sec
if 193381760.0 Ops/sec
ternary 188996208.0 Ops/sec
Script Preparation code:
Tests:
  • Math.max/min

  • if

  • ternary