Run details:
Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-N950N) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/13.2 Chrome/83.0.4103.106 Mobile Safari/537.36
Chrome Mobile 83
Android
Mobile
3 years ago
Test name Executions per second
reduce 31543.7 Ops/sec
for loop 373217.4 Ops/sec
forEach 180280.9 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach