Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Chrome 77
Mac OS X 10.14.6
Desktop
5 years ago
Test name Executions per second
destructuring with defaults, find item 1695547.8 Ops/sec
lodash get, find item 930071.3 Ops/sec
dlv get, find item 940913.3 Ops/sec
destructuring dynamic key 1759430.4 Ops/sec
lodash dynamic key 720762.9 Ops/sec
dlv dynamic key 666832.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


;