Run details:
Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/119.0 Firefox/119.0
Firefox Mobile 119
Android
Mobile
one year ago
Test name Executions per second
Object.entries 142417.6 Ops/sec
Object.keys 71065.2 Ops/sec
Object.keys with extra array 35979.6 Ops/sec
Object.entries without array 180816.6 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array