Run details:
Mozilla/5.0 (Linux; Android 9; Pixel) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Mobile Safari/537.36
Chrome Mobile 72
Android
Mobile
5 years ago
Test name Executions per second
reduce 25478.2 Ops/sec
for loop 358162.0 Ops/sec
forEach 177250.3 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach