Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/67.0.3396.62 Chrome/67.0.3396.62 Safari/537.36
Chromium 67
Ubuntu
Desktop
6 years ago
Test name Executions per second
reduce 6154.5 Ops/sec
for loop 68699.2 Ops/sec
forEach 10758.1 Ops/sec
for of loop 18753.6 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach

  • for of loop


;