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

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Android 10; Mobile; rv:81.0) Gecko/81.0 Firefox/81.0
Firefox Mobile 81 on Android
View result in a separate tab
Test name Executions per second
Using the spread operator 2987527.8 Ops/sec
Using Object.assign 2712594.8 Ops/sec