Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0
Firefox 57
Mac OS X 10.13
Other
2025 years ago
Test name Executions per second
forEach 1491.9 Ops/sec
reduce 1484.9 Ops/sec
map 1318.1 Ops/sec
filter 1262.1 Ops/sec
for 1995.8 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;