Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
Chrome 64
Mac OS X 10.12.6
Other
2025 years ago
Test name Executions per second
reduce 69600.0 Ops/sec
for loop 633368.3 Ops/sec
forEach 411565.6 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach