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 36818660.0 Ops/sec
array.from 19034230.0 Ops/sec
for loop 50824272.0 Ops/sec
foreach 50782584.0 Ops/sec
slice 31166416.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice