Run details:
Mozilla/5.0 (Linux; Android 12; SM-G973F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
Math.min 3951998.8 Ops/sec
if 1205789952.0 Ops/sec
ternary 1179941504.0 Ops/sec
Script Preparation code:
Tests:
  • Math.min

  • if

  • ternary


;