Run details:
Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/116.0 Firefox/116.0
Firefox Mobile 116
Android
Mobile
one year ago
Test name Executions per second
Object.entries 117650.1 Ops/sec
Object.keys 58473.8 Ops/sec
Object.keys with extra array 28412.0 Ops/sec
Object.entries without array 140432.3 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array