Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0
Chrome 121
Windows
Desktop
10 months ago
Test name Executions per second
map 28810766.0 Ops/sec
array.from 3986659.2 Ops/sec
for loop 21505850.0 Ops/sec
foreach 19636688.0 Ops/sec
slice 39773200.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice