Run details:
Mozilla/5.0 (iPad; CPU OS 14_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/96.0.4664.53 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 96
iOS 14.8
Tablet
3 years ago
Test name Executions per second
some largeArray 469413.9 Ops/sec
For...of largeArray 322780.3 Ops/sec
some smallArray 7692460.5 Ops/sec
for...of smallArray 9950929.0 Ops/sec
Script Preparation code:
Tests:
  • some largeArray

  • For...of largeArray

  • some smallArray

  • for...of smallArray