Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36
Chrome 87
Linux
Desktop
4 years ago
Test name Executions per second
reduce 24967.4 Ops/sec
for loop 841019.6 Ops/sec
forEach 141364.6 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach