Tests:
  • Using the spread operator

  • Using Object.assign

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Using the spread operator
    Using Object.assign

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 13_1_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.1 Mobile/15E148 Safari/604.1
Mobile Safari 13 on iOS 13.1.2
View result in a separate tab
Test name Executions per second
Using the spread operator 410423.3 Ops/sec
Using Object.assign 1125113.0 Ops/sec