Run details:
Mozilla/5.0 (Android 12; Mobile; rv:109.0) Gecko/110.0 Firefox/110.0
Firefox Mobile 110
Android
Mobile
one year ago
Test name Executions per second
Object.entries 80959.0 Ops/sec
Object.keys 45800.6 Ops/sec
Object.keys with extra array 25896.1 Ops/sec
Object.entries without array 94988.0 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array