Run details:
Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/111.0 Firefox/111.0
Firefox Mobile 111
Android
Mobile
one year ago
Test name Executions per second
destructuring with defaults, empty input 21689258.0 Ops/sec
lodash get, empty input 1991563.9 Ops/sec
destructuring with defaults, find item 20285320.0 Ops/sec
lodash get, find item 1658740.4 Ops/sec
destructuring dynamic key 21171104.0 Ops/sec
lodash dynamic key 1655921.2 Ops/sec
lodash dynamic key using array 5351633.5 Ops/sec
lodash dynamic key using manually cached array 4329021.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • destructuring with defaults, empty input

  • lodash get, empty input

  • destructuring with defaults, find item

  • lodash get, find item

  • destructuring dynamic key

  • lodash dynamic key

  • lodash dynamic key using array

  • lodash dynamic key using manually cached array


;