Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
Firefox 74
Ubuntu
Desktop
4 years ago
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
HTML Preparation code:
Tests:
  • lodash assign with inplace object creation

  • object.assign

  • spread

  • lodash assign with object creation before