HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash get

  • Native naive

  • Guarded native

  • Shimmed get.

  • Optional chaining

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash get
    Native naive
    Guarded native
    Shimmed get.
    Optional chaining

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125 on Windows
View result in a separate tab
Test name Executions per second
Lodash get 2750863.5 Ops/sec
Native naive 16193161.0 Ops/sec
Guarded native 3663679.8 Ops/sec
Shimmed get. 922865.3 Ops/sec
Optional chaining 16024869.0 Ops/sec