Run details:
Mozilla/5.0 (Linux; Android 7.1.2) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Focus/6.0 Chrome/67.0.3396.87 Mobile Safari/537.36
Chrome Mobile 67
Android 7.1.2
Mobile
6 years ago
Test name Executions per second
reduce 6694.4 Ops/sec
for loop 56356.4 Ops/sec
forEach 5624.0 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach