JS Reduce vs JS Forloop (in func)

one month ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36
Test name Executions per second
Reduce 10.5 Ops/sec
ForLoop 10.6 Ops/sec
Tests:
  • Reduce

  • ForLoop

Open this result on MeasureThat.net