Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Chrome 115
Android
Desktop
one year ago
Test name Executions per second
Object.entries 7938.4 Ops/sec
Object.keys 10584.2 Ops/sec
Object.keys with extra array 6224.4 Ops/sec
Object.entries without array 8220.3 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array


;