Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Firefox 59
Windows
Other
6 years ago
Test name Executions per second
Dot notation property accessor 317678016.0 Ops/sec
Dot property notation accessor with default value 346851360.0 Ops/sec
Lodash.get method 17980598.0 Ops/sec
Lodash.get method with default 19119342.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Dot notation property accessor

  • Dot property notation accessor with default value

  • Lodash.get method

  • Lodash.get method with default