Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Linux
Desktop
one year ago
Test name Executions per second
map 14659379.0 Ops/sec
array.from 6206539.5 Ops/sec
for loop 16049123.0 Ops/sec
foreach 9853769.0 Ops/sec
slice 18898242.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice