Run details:
Mozilla/5.0 (Linux; Android 7.0; SM-G925F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Mobile Safari/537.36
Chrome Mobile 89
Android 7.0
Mobile
3 years ago
Test name Executions per second
Object.entries 8130.1 Ops/sec
Object.keys 9728.2 Ops/sec
Object.keys with extra array 6120.3 Ops/sec
Object.entries without array 8191.8 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array


;