Run details:
Mozilla/5.0 (Linux; Android 7.0; SM-G930F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36
Chrome Mobile 66
Android 7.0
Mobile
6 years ago
Test name Executions per second
for 27603.9 Ops/sec
foreach 1102983.2 Ops/sec
some 931047.3 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some