Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Fedora
Desktop
5 years ago
Test name Executions per second
reduce 404819.6 Ops/sec
for loop 1345181.4 Ops/sec
forEach 608032.4 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach