Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
Firefox 87
Linux
Desktop
3 years ago
Test name Executions per second
forEach 2558.6 Ops/sec
reduce 2542.8 Ops/sec
map 2031.5 Ops/sec
filter 1685.4 Ops/sec
for 2751.7 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;