Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Mobile Safari/537.36
Chrome Mobile 127
Android
Mobile
3 months ago
Test name Executions per second
ternary 1847028.0 Ops/sec
Math.max 1263000.1 Ops/sec
Script Preparation code:
Tests:
  • ternary

  • Math.max