There is no inherent evolutionary benefit for small dogs that yip incessantly for no good reason.
I’m serious. I was rudely awakened in the early hours of dawn by a small, yipping dog that stays in the blocks of flats opposite my window. That sucked because I hate having my sleep interrupted. I have trouble sleeping at night and some sleep disorders to boot, so getting a good rest can sometimes be quite a challenge.
Coincidentally, Cowboy Caleb posted a link to a visual opinion piece in the New York Times which provides another perspective on the difficulties of getting a good night’s sleep.
I hope small, yipping dogs get bred out of the evolutionary chain soon.