Run details:
Mozilla/5.0 (Linux; Android 10; Mi 9 Lite Build/QKQ1.190828.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/123.0.6312.118 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/455.0.0.40.107;]
Chrome Mobile 123
Android
Mobile
8 months ago
Test name Executions per second
optional chain 6198570.0 Ops/sec
lodash get with array 1834346.9 Ops/sec
lodash get with string 1126595.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • optional chain

  • lodash get with array

  • lodash get with string