HTML Preparation code:
Script Preparation code:
Tests:
  • lodash.get

  • Optional chaining (babel es2015)

  • safeGet

  • dlv (dot notation)

  • dlv (array notation)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    lodash.get
    Optional chaining (babel es2015)
    safeGet
    dlv (dot notation)
    dlv (array notation)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:141.0) Gecko/20100101 Firefox/141.0
Firefox 141 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
lodash.get 25525192.0 Ops/sec
Optional chaining (babel es2015) 203880032.0 Ops/sec
safeGet 27241982.0 Ops/sec
dlv (dot notation) 12975039.0 Ops/sec
dlv (array notation) 46350168.0 Ops/sec