Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 YaBrowser/23.3.3.764 Yowser/2.5 Safari/537.36
Yandex Browser 23
Linux
Desktop
one year ago
Test name Executions per second
some largeArray 394749.4 Ops/sec
For...of largeArray 283285.7 Ops/sec
some smallArray 5131718.5 Ops/sec
for...of smallArray 7563465.0 Ops/sec
Script Preparation code:
Tests:
  • some largeArray

  • For...of largeArray

  • some smallArray

  • for...of smallArray