HTML Preparation code:
Script Preparation code:
Tests:
  • optional chain

  • lodash get with array

  • lodash get with string

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    optional chain
    lodash get with array
    lodash get with string

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 5 days ago)
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 on Android
View result in a separate tab
Test name Executions per second
optional chain 6198570.0 Ops/sec
lodash get with array 1834347.0 Ops/sec
lodash get with string 1126596.0 Ops/sec