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 18580.7 Ops/sec
Object.keys 28561.7 Ops/sec
Object.keys with extra array 17766.5 Ops/sec
Object.entries without array 19188.2 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array


;