Run details:
Mozilla/5.0 (Linux; Android 7.0; SAMSUNG SM-G925F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/13.0 Chrome/83.0.4103.106 Mobile Safari/537.36
Chrome Mobile 83
Android 7.0
Mobile
4 years ago
Test name Executions per second
Destructuring assignment on full object 2075448.1 Ops/sec
Lodash get() on full object 286176.7 Ops/sec
Destructuring assignment on empty object 1814722.2 Ops/sec
Lodash get() on empty object 264503.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Destructuring assignment on full object

  • Lodash get() on full object

  • Destructuring assignment on empty object

  • Lodash get() on empty object