optional chaining chrome vs lodash get

one month ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36
Test name Executions per second
optional chaining 13262490.0 Ops/sec
lodash get 2147394.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • optional chaining

  • lodash get

Open this result on MeasureThat.net