Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Chrome 111
Windows
Desktop
one year ago
Test name Executions per second
destructuring with defaults, find item 6205547.5 Ops/sec
lodash get, find item 2466309.0 Ops/sec
dlv get, find item 3392506.5 Ops/sec
destructuring dynamic key 6859415.5 Ops/sec
lodash dynamic key 2217253.0 Ops/sec
dlv dynamic key 2112719.5 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


;