Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Chrome 85
Mac OS X 10.14.6
Desktop
4 years ago
Test name Executions per second
forEach 339.7 Ops/sec
reduce 335.4 Ops/sec
map 327.5 Ops/sec
filter 316.0 Ops/sec
for 274.9 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;