Run details:
Mozilla/5.0 (Android 9; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0
Firefox Mobile 68
Android
Mobile
5 years ago
Test name Executions per second
Object.entries 32247.5 Ops/sec
Object.keys 25680.5 Ops/sec
Object.keys with extra array 10606.5 Ops/sec
Object.entries without array 38530.2 Ops/sec
Script Preparation code:
Tests:
  • Object.entries

  • Object.keys

  • Object.keys with extra array

  • Object.entries without array


;