Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36
Chrome Mobile 114
Android
Mobile
one year ago
Test name Executions per second
Math.Min 215.9 Ops/sec
Math.Max 189.3 Ops/sec
Reduce for min 1022.9 Ops/sec
Reduce for max 1008.8 Ops/sec
For for min 195.9 Ops/sec
For for max 197.1 Ops/sec
For of for min 142.3 Ops/sec
For of for max 143.8 Ops/sec
Script Preparation code:
Tests:
  • Math.Min

  • Math.Max

  • Reduce for min

  • Reduce for max

  • For for min

  • For for max

  • For of for min

  • For of for max


;