Run details:
Mozilla/5.0 (Linux; Android 6.0; M5 Note Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.126 Mobile Safari/537.36
Chrome Mobile 66
Android 6.0
M5 Note
6 years ago
Test name Executions per second
Destructuring assignment on full object 1467467.2 Ops/sec
Lodash get() on full object 208910.6 Ops/sec
Destructuring assignment on empty object 1472421.8 Ops/sec
Lodash get() on empty object 245297.2 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