Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88
Linux
Desktop
3 years ago
Test name Executions per second
forEach 3062.4 Ops/sec
reduce 2984.5 Ops/sec
map 2225.3 Ops/sec
filter 2060.4 Ops/sec
for 2566.0 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for