Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
forEach 2010.7 Ops/sec
reduce 1971.4 Ops/sec
map 1744.0 Ops/sec
filter 1596.2 Ops/sec
for 2287.1 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;