Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71
Mac OS X 10.15
Desktop
5 years ago
Test name Executions per second
forEach 2010.7 Ops/sec
reduce 1899.9 Ops/sec
map 1667.1 Ops/sec
filter 1669.1 Ops/sec
for 2039.8 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;