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: one year ago)
Mozilla/5.0 (Linux; Android 12; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.5481.192 Mobile Safari/537.36 OPR/74.1.3922.71199
Opera Mobile 74 on Android
View result in a separate tab
Test name Executions per second
Using the spread operator 1693637.2 Ops/sec
Using Object.assign 3662824.0 Ops/sec


;