Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Mac OS X 10.14
Desktop
5 years ago
Test name Executions per second
Destructuring assignment on full object 100878856.0 Ops/sec
Lodash get() on full object 4857847.5 Ops/sec
Destructuring assignment on empty object 141606720.0 Ops/sec
Lodash get() on empty object 5406533.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