Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0
Firefox 103
Windows
Desktop
one year ago
Test name Executions per second
Math.min 14127392.0 Ops/sec
if 8899919.0 Ops/sec
ternary 8696173.0 Ops/sec
Script Preparation code:
Tests:
  • Math.min

  • if

  • ternary