Run details:
Mozilla/5.0 (Linux; Android 11; M2007J20CG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36
Chrome Mobile 90
Android
Mobile
2 years ago
Test name Executions per second
Object.entries 18645.9 Ops/sec
Object.keys 29180.1 Ops/sec
Object.keys with extra array 18556.3 Ops/sec
Object.entries without array 19124.0 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array


;