Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Mobile/15E148 Safari/604.1
Mobile Safari 15
iOS 15.6
Mobile
one year ago
Test name Executions per second
map 9620829.0 Ops/sec
array.from 3548213.0 Ops/sec
for loop 23611384.0 Ops/sec
foreach 5806722.0 Ops/sec
slice 31078220.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice