Tests:
  • ES 6 Spread, combining objects

  • Object.assign, combining objects

  • ES 6 Spread, cloning objects

  • Object.assign, cloning objects

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    ES 6 Spread, combining objects
    Object.assign, combining objects
    ES 6 Spread, cloning objects
    Object.assign, cloning objects

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0
Firefox 105 on Mac OS X 10.15
View result in a separate tab
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 5933586.0 Ops/sec