Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/604.4.7 (KHTML, like Gecko) Version/11.0.2 Safari/604.4.7
Safari 11
Mac OS X 10.11.6
Other
2025 years ago
Test name Executions per second
forEach 235.2 Ops/sec
reduce 260.7 Ops/sec
map 236.4 Ops/sec
filter 248.5 Ops/sec
for 201.3 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;