Tests:
  • Using Object.assign

  • Using the spread operator

  • Using Object.assign (known change)

  • Using the spread operator (known change)

  • Using Object.assign (filtered)

  • Using the spread operator (filter)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Using Object.assign
    Using the spread operator
    Using Object.assign (known change)
    Using the spread operator (known change)
    Using Object.assign (filtered)
    Using the spread operator (filter)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0
Firefox 134 on Linux
View result in a separate tab
Test name Executions per second
Using Object.assign 12976.6 Ops/sec
Using the spread operator 12422.2 Ops/sec
Using Object.assign (known change) 13418.2 Ops/sec
Using the spread operator (known change) 12944.2 Ops/sec
Using Object.assign (filtered) 13112.8 Ops/sec
Using the spread operator (filter) 12630.6 Ops/sec