Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0
Firefox 89
Mac OS X 10.15
Desktop
3 years ago
Test name Executions per second
forEach 2856.9 Ops/sec
reduce 2709.3 Ops/sec
map 1885.9 Ops/sec
filter 1647.1 Ops/sec
for 3714.0 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for