Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Linux
Desktop
one year ago
Test name Executions per second
destructuring with defaults, find item 2625233.8 Ops/sec
lodash get, find item 1237417.9 Ops/sec
dlv get, find item 1401321.8 Ops/sec
destructuring dynamic key 2598807.8 Ops/sec
lodash dynamic key 958807.4 Ops/sec
dlv dynamic key 722003.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


;