Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Linux
Desktop
one year ago
Test name Executions per second
destructuring with defaults, find item 4573030.5 Ops/sec
lodash get, find item 1948083.4 Ops/sec
dlv get, find item 2247736.2 Ops/sec
destructuring dynamic key 4408509.5 Ops/sec
lodash dynamic key 1508458.6 Ops/sec
dlv dynamic key 1408512.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


;