Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88
Windows
Desktop
3 years ago
Test name Executions per second
Destructuring assignment on full object 81010384.0 Ops/sec
Lodash get() on full object 4313650.5 Ops/sec
Destructuring assignment on empty object 78076816.0 Ops/sec
Lodash get() on empty object 5424427.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