Run details:
Mozilla/5.0 (Linux; Android 9; Mi A2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Mobile Safari/537.36
Chrome Mobile 78
Android
Mobile
5 years ago
Test name Executions per second
reduce 21677.4 Ops/sec
for loop 240809.3 Ops/sec
forEach 175914.6 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach