Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 6 Build/SQ1D.211205.016.A1; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/96.0.4664.104 Mobile Safari/537.36 [FB_IAB/Orca-Android;FBAV/342.1.0.14.119;]
Chrome Mobile 96
Android
Mobile
2 years ago
Test name Executions per second
Math.min 6326098.0 Ops/sec
if 990643264.0 Ops/sec
ternary 987158656.0 Ops/sec
Script Preparation code:
Tests:
  • Math.min

  • if

  • ternary