Run details:
Mozilla/5.0 (Android 13; Mobile; rv:122.0) Gecko/122.0 Firefox/122.0
Firefox Mobile 122
Android
Mobile
10 months ago
Test name Executions per second
Object.entries 106666.2 Ops/sec
Object.keys 56632.2 Ops/sec
Object.keys with extra array 27135.9 Ops/sec
Object.entries without array 115846.7 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array