Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Linux
Desktop
4 months ago
Test name Executions per second
N: 1000 Object.entries 2310.4 Ops/sec
N: 10000 Object.entries 187.5 Ops/sec
N: 1000 For In 2796.6 Ops/sec
N: 10000 For In 242.2 Ops/sec
N: 100000 Object.entries 12.9 Ops/sec
N: 100000 For In 20.9 Ops/sec
Script Preparation code:
Tests:
  • N: 1000 Object.entries

  • N: 10000 Object.entries

  • N: 1000 For In

  • N: 10000 For In

  • N: 100000 Object.entries

  • N: 100000 For In


;