Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/110.0.5481.114 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 110
iOS 15.7
Mobile
one year ago
Test name Executions per second
foreach 6415.3 Ops/sec
for 3463.1 Ops/sec
map 6424.5 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map


;