Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36
Chrome 86
Mac OS X 10.15.6
Desktop
4 years ago
Test name Executions per second
Dot notation property accessor 14809804.0 Ops/sec
Dot property notation accessor with default value 14956971.0 Ops/sec
Lodash.get method 4009154.5 Ops/sec
Lodash.get method with default 3909315.5 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