Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Linux
Desktop
one year ago
Test name Executions per second
Math.Min 1894.4 Ops/sec
Math.Max 1713.3 Ops/sec
Reduce for min 1861.2 Ops/sec
Reduce for max 1832.0 Ops/sec
For for min 6146.1 Ops/sec
For for max 4967.4 Ops/sec
For of for min 43.1 Ops/sec
For of for max 45.1 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


;