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
one year ago
ternary
1.8M/s
Math.max
1.3M/s
View exact numbers
Test name Executions per second
ternary 1,847,028 Ops/sec
Math.max 1,263,000 Ops/sec
Script Preparation code:
Tests: