HTML Preparation code:
Tests:

Historical Performance Data aggregated from 9 community runs

Desktop Results:
Chrome 9 runs
spread
14.1M/s
object.assign
14.0M/s
lodash merge
2.4M/s

Fastest: spread (5.9x faster)

View exact numbers
  • spread: 14,126,218 ops/sec
  • object.assign: 14,021,810 ops/sec
  • lodash merge: 2,376,380 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
    lodash merge
    object.assign
    spread

    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/136.0.0.0 Safari/537.36
Chrome 136 on Mac OS X 10.15.7
View result in a separate tab
object.assign
22.9M/s
spread
20.2M/s
lodash merge
4.1M/s
View exact numbers
Test name Executions per second
object.assign 22,907,374 Ops/sec
spread 20,207,396 Ops/sec
lodash merge 4,067,663 Ops/sec