Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125
Linux
Desktop
one month ago
Test name Executions per second
Array.prototype.reduce.call() 22804.9 Ops/sec
Array.prototype.forEach.call() 28386.5 Ops/sec
Conventional for loop 24055.6 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.reduce.call()

  • Array.prototype.forEach.call()

  • Conventional for loop


;