Run details:
Mozilla/5.0 (Linux; Android 11; SM-A035F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
Math.min 1245192.2 Ops/sec
if 409182720.0 Ops/sec
ternary 408747200.0 Ops/sec
OR 407114400.0 Ops/sec
Script Preparation code:
Tests:
  • Math.min

  • if

  • ternary

  • OR