Run details:
Mozilla/5.0 (Linux; Android 9; A0001 Build/PQ3A.190801.002) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Mobile Safari/537.36 OPR/53.1.2569.142848
Opera Mobile 53
Android
Mobile
5 years ago
Test name Executions per second
for 166.7 Ops/sec
foreach 5408.8 Ops/sec
some 5498.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some