Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/76.0.3809.100 Chrome/76.0.3809.100 Safari/537.36
Chromium 76
Ubuntu
Desktop
5 years ago
Test name Executions per second
reduce 52070.4 Ops/sec
for loop 0.0 Ops/sec
forEach 461628.6 Ops/sec
for of loop 647065.5 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach

  • for of loop