Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36
Chrome 67
Mac OS X 10.12.6
Desktop
6 years ago
Test name Executions per second
Destructuring assignment on full object 9556156.0 Ops/sec
Lodash get() on full object 1258923.4 Ops/sec
Destructuring assignment on empty object 8964675.0 Ops/sec
Lodash get() on empty object 1345021.0 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