Run details:
Mozilla/5.0 (Linux; Android 9; TA-1012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.112 Mobile Safari/537.36
Chrome Mobile 74
Android
Mobile
5 years ago
Test name Executions per second
foreach 4955.2 Ops/sec
for++ 2842.9 Ops/sec
map 4816.1 Ops/sec
for of 5560.9 Ops/sec
for in 2357.5 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for++

  • map

  • for of

  • for in