Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0
Firefox 105
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
ES 6 Spread, combining objects 3817331.0 Ops/sec
Object.assign, combining objects 6096299.0 Ops/sec
ES 6 Spread, cloning objects 6176383.0 Ops/sec
Object.assign, cloning objects 5933585.5 Ops/sec
Tests:
  • ES 6 Spread, combining objects

  • Object.assign, combining objects

  • ES 6 Spread, cloning objects

  • Object.assign, cloning objects