Tests:
  • Using the spread operator

  • Using Object.assign

  • Using mutation

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    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: 5 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Mobile Safari/537.36
Chrome Mobile 117 on Android
View result in a separate tab
Test name Executions per second
Using the spread operator 6395857.0 Ops/sec
Using Object.assign 1746734.0 Ops/sec
Using mutation 242396500.0 Ops/sec