Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Chrome OS 14541.0.0
Desktop
28 days ago
Test name Executions per second
for 22609.7 Ops/sec
foreach 56426.0 Ops/sec
for..of 57108.9 Ops/sec
for..of over entries 53239.4 Ops/sec
for..in 28845.7 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for..of

  • for..of over entries

  • for..in


;