Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Linux
Desktop
6 months ago
Test name Executions per second
map 10798768.0 Ops/sec
array.from 5255305.5 Ops/sec
for loop 14131136.0 Ops/sec
foreach 15341759.0 Ops/sec
slice 17402662.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice