Run details:
Mozilla/5.0 (Linux; Android 9; SM-J530F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36
Chrome Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
forEach 53.0 Ops/sec
reduce 61.5 Ops/sec
for 14.5 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • for