Run details:
Mozilla/5.0 (Linux; Android 9; CPH1941) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Mobile Safari/537.36
Chrome Mobile 88
Android
Mobile
3 years ago
Test name Executions per second
Object.entries 11454.0 Ops/sec
Object.keys 15145.6 Ops/sec
Object.keys with extra array 9530.5 Ops/sec
Object.entries without array 11858.3 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array


;