Run details:
Mozilla/5.0 (Android 11; Mobile; rv:122.0) Gecko/122.0 Firefox/122.0
Firefox Mobile 122
Android
Mobile
one year ago
Test name Executions per second
Object.entries 158810.0 Ops/sec
Object.keys 82524.7 Ops/sec
Object.keys with extra array 35921.8 Ops/sec
Object.entries without array 185986.7 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array