HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 19 community runs

Desktop Results:
Chrome 19 runs
Lodash.set
28.5M/s
Dot notation property setter
8.8M/s

Fastest: Lodash.set (3.2x faster)

View exact numbers
  • Lodash.set: 28,470,146 ops/sec
  • Dot notation property setter: 8,849,877 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Dot notation property setter
    Lodash.set

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Chrome 134 on Mac OS X 10.15.7
View result in a separate tab
Lodash.set
137.6M/s
Dot notation property setter
20.9M/s
View exact numbers
Test name Executions per second
Lodash.set 137,567,200 Ops/sec
Dot notation property setter 20,882,676 Ops/sec