Run details:
Mozilla/5.0 (Linux; Android 9; LM-Q850) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
Object.entries 4135.5 Ops/sec
Object.keys 5505.9 Ops/sec
Object.keys with extra array 3266.9 Ops/sec
Object.entries without array 4599.1 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array


;