Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3928.4 Safari/537.36 OPR/66.0.3475.0 (Edition developer)
Opera 66
Windows
Desktop
5 years ago
Test name Executions per second
destructuring with defaults, find item 1658434.6 Ops/sec
lodash get, find item 974313.8 Ops/sec
dlv get, find item 973697.4 Ops/sec
destructuring dynamic key 1654575.1 Ops/sec
lodash dynamic key 772982.2 Ops/sec
dlv dynamic key 647996.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • destructuring with defaults, find item

  • lodash get, find item

  • dlv get, find item

  • destructuring dynamic key

  • lodash dynamic key

  • dlv dynamic key


;