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

  • Lodash get array

  • Native

  • Native with checking for missing object

  • ?.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash get string
    Lodash get array
    Native
    Native with checking for missing object
    ?.

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Firefox 96 on Ubuntu
View result in a separate tab
Test name Executions per second
Lodash get string 2929418.2 Ops/sec
Lodash get array 12417788.0 Ops/sec
Native 865745856.0 Ops/sec
Native with checking for missing object 484177152.0 Ops/sec
?. 401172160.0 Ops/sec