HTML Preparation code:
Tests:
  • lodash assign with inplace object creation

  • object.assign

  • spread

  • lodash assign with object creation before

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    lodash assign with inplace object creation
    object.assign
    spread
    lodash assign with object creation before

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
Firefox 74 on Ubuntu
View result in a separate tab
Test name Executions per second
lodash assign with inplace object creation 3674652.0 Ops/sec
object.assign 4366035.5 Ops/sec
spread 2101695.8 Ops/sec
lodash assign with object creation before 3814207.8 Ops/sec