Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
map 36435168.0 Ops/sec
array.from 18949646.0 Ops/sec
for loop 50251552.0 Ops/sec
foreach 50646880.0 Ops/sec
slice 31161548.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice