Shift queueing farms or any other bulding around a building causes extreme lag specially when you have many villagers in the current selection.
I assume same lag can happen when shift queuing attacks with big army selected
it even gets to 1 fps example in top right corner i use steam ingame fps tracker
1 villager
20 villagers
50 villagers
The lag intensity increases in team games usually