Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Windows
Desktop
one month ago
Test name Executions per second
for 677276.1 Ops/sec
forEach 257628.6 Ops/sec
For In 1020304.2 Ops/sec
For of 5710363.0 Ops/sec
Script Preparation code:
Tests:
  • for

  • forEach

  • For In

  • For of with continue

  • For of with filter before