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 days ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36 EdgA/131.0.0.0
Chrome Mobile 131 on Android
View result in a separate tab
Test name Executions per second
Using the spread operator 8975583.0 Ops/sec
Using Object.assign 6892639.0 Ops/sec