Run details:
Mozilla/5.0 (Android 11; Mobile; rv:109.0) Gecko/111.0 Firefox/111.0
Firefox Mobile 111
Android
Mobile
one year ago
Test name Executions per second
for i++ 338559.4 Ops/sec
for i-- 344774.2 Ops/sec
while i-- 306863.4 Ops/sec
for of 42784.8 Ops/sec
forEach 39867.7 Ops/sec
Script Preparation code:
Tests:
  • for i++

  • for i--

  • while i--

  • for of

  • forEach