Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/96.0.4664.53 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 96
iOS 15.0
Mobile
2 years ago
Test name Executions per second
for 111117.0 Ops/sec
foreach 552830.1 Ops/sec
some 550727.7 Ops/sec
for..of 127091.6 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;