Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36
Chrome 84
Mac OS X 10.13.6
Desktop
4 years ago
Test name Executions per second
forEach 26162.4 Ops/sec
reduce 27085.7 Ops/sec
map 26488.8 Ops/sec
filter 26463.0 Ops/sec
for 23152.2 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;