Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Xbox/2003.1001.4.0 Chrome/69.0.3497.128 Electron/4.2.2 Safari/537.36
Chrome 69
Windows
Desktop
4 years ago
Test name Executions per second
destructuring with defaults, find item 2804935.8 Ops/sec
lodash get, find item 1288029.6 Ops/sec
dlv get, find item 1380535.9 Ops/sec
destructuring dynamic key 2718415.2 Ops/sec
lodash dynamic key 886789.3 Ops/sec
dlv dynamic key 927666.2 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


;