Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Whale/3.18.154.8 Safari/537.36
Chrome 108
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Destructuring assignment on full object 13953876.0 Ops/sec
Lodash get() on full object 2370932.0 Ops/sec
Destructuring assignment on empty object 13812734.0 Ops/sec
Lodash get() on empty object 2556756.5 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