In gold and just lost a ton of SR for swapping mid match

Technically the performance base match metric accounts for a small portion of your SR adjustment, other factors include the comparison of average SR between both teams, how frequently you play, and how close to either end of the SR range you play at.

If you want more details, check out Kaawumba’s incredible guide on skill rating adjustments on these forums