Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/71.0.3578.89 Mobile/15E148 Safari/605.1
Chrome Mobile iOS 71
iOS 12.1
Mobile
5 years ago
Test name Executions per second
reduce 444240.6 Ops/sec
for loop 692740.5 Ops/sec
forEach 196646.0 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach