Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-A520F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Mobile Safari/537.36
Chrome Mobile 80
Android 8.0.0
Mobile
4 years ago
Test name Executions per second
reduce 7103.3 Ops/sec
for loop 89485.0 Ops/sec
forEach 14915.8 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach