Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.45 Safari/537.36
Chrome 84
Mac OS X 10.15.3
Desktop
4 years ago
Test name Executions per second
forEach 2.4 Ops/sec
reduce 2.5 Ops/sec
map 1.9 Ops/sec
filter 2.0 Ops/sec
for 2.1 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;