HTML Preparation code:
Tests:
  • lodash merge

  • object.assign

  • spread

  • lodash assign

  • Good old for loop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    lodash merge
    object.assign
    spread
    lodash assign
    Good old for loop

    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/112.0.0.0 Safari/537.36
Chrome 112 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
lodash merge 3819269.2 Ops/sec
object.assign 7686899.5 Ops/sec
spread 2744127.8 Ops/sec
lodash assign 5284017.0 Ops/sec
Good old for loop 933359296.0 Ops/sec