Run details:
Mozilla/5.0 (Linux; Android 7.1.2; Redmi 5 Build/N2G47H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36
Chrome Mobile 68
Android 7.1.2
Mobile
6 years ago
Test name Executions per second
for 8784.9 Ops/sec
foreach 407653.1 Ops/sec
some 409820.1 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some