Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Windows
Desktop
one year ago
Test name Executions per second
map 27557026.0 Ops/sec
array.from 12863131.0 Ops/sec
for loop 37798752.0 Ops/sec
foreach 33072030.0 Ops/sec
slice 33851000.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice