Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
Chrome 124
Linux
Desktop
7 months ago
Test name Executions per second
for of 6283.5 Ops/sec
forEach 6336.6 Ops/sec
forEach, separate callback 5342.5 Ops/sec
for 2136.6 Ops/sec
for, external len 3215.6 Ops/sec
Script Preparation code:
Tests:
  • for of

  • forEach

  • forEach, separate callback

  • for

  • for, external len


;