Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Windows
Desktop
one year ago
Test name Executions per second
while 0.1 Ops/sec
for 0.1 Ops/sec
forEach 1.0 Ops/sec
for of 0.8 Ops/sec
Script Preparation code:
Tests:
  • while

  • for

  • forEach

  • for of


;