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 4030540.5 Ops/sec
lodash get, find item 1784107.9 Ops/sec
dlv get, find item 2036468.8 Ops/sec
destructuring dynamic key 3958475.5 Ops/sec
lodash dynamic key 1360357.2 Ops/sec
dlv dynamic key 1321724.4 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


;