Run details:
Mozilla/5.0 (Linux; Android 11; Pixel 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.114 Mobile Safari/537.36
Chrome Mobile 86
Android
Mobile
4 years ago
Test name Executions per second
reduce 28924.3 Ops/sec
for loop 312686.7 Ops/sec
forEach 218373.8 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach