Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.116 Safari/537.36
Chrome 89
Linux
Desktop
3 years ago
Test name Executions per second
destructuring with defaults, find item 1836169.9 Ops/sec
lodash get, find item 918299.6 Ops/sec
dlv get, find item 945964.6 Ops/sec
destructuring dynamic key 1803780.2 Ops/sec
lodash dynamic key 600628.1 Ops/sec
dlv dynamic key 572792.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


;