Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/113.2 Mobile/15E148 Safari/605.1.15
Mobile Safari 16
iOS 16.5
Mobile
one year ago
Test name Executions per second
map 14316709.0 Ops/sec
array.from 6088082.5 Ops/sec
for loop 39828792.0 Ops/sec
foreach 13019351.0 Ops/sec
slice 58179256.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice