Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Linux
Desktop
one year ago
Test name Executions per second
map 8986986.0 Ops/sec
array.from 4247062.0 Ops/sec
for loop 13340678.0 Ops/sec
foreach 11774724.0 Ops/sec
slice 12915012.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice