Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/113.0.5672.121 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 113
iOS 14.8
Mobile
one year ago
Test name Executions per second
for 91922.5 Ops/sec
foreach 420397.2 Ops/sec
some 406369.6 Ops/sec
for..of 105737.4 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;