Run details:
Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-N976N) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/19.0 Chrome/102.0.5005.125 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
one year ago
Test name Executions per second
Object.entries 20206.6 Ops/sec
Object.keys 21403.7 Ops/sec
Object.keys with extra array 13256.3 Ops/sec
Object.entries without array 20383.7 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array


;