Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
forEach over entries 14314.8 Ops/sec
for of over entires 14699.3 Ops/sec
forEach over values 18063.3 Ops/sec
for of over values 18153.6 Ops/sec
forEach over keys 5436.4 Ops/sec
for of over keys 5457.5 Ops/sec
for in 5489.9 Ops/sec
Script Preparation code:
Tests:
  • forEach over entries

  • for of over entires

  • forEach over values

  • for of over values

  • forEach over keys

  • for of over keys

  • for in


;