Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5.2 Safari/605.1.15
Safari 16
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
forEach over entries 13660.1 Ops/sec
for of over entires 10022.4 Ops/sec
forEach over values 21077.5 Ops/sec
for of over values 21209.2 Ops/sec
forEach over keys 9877.1 Ops/sec
for of over keys 9966.6 Ops/sec
for in 11717.1 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


;