Run details:
Mozilla/5.0 (Linux; Android 9; Mi A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Mobile Safari/537.36
Chrome Mobile 86
Android
Mobile
4 years ago
Test name Executions per second
for..in 13126.5 Ops/sec
foreach 844842.8 Ops/sec
some 716433.0 Ops/sec
for 9031.0 Ops/sec
for with predefined size 17681.3 Ops/sec
while 293614.6 Ops/sec
Script Preparation code:
Tests:
  • for..in

  • foreach

  • some

  • for

  • for with predefined size

  • while