The size of the Pokemon doesn't matter, but its moves effectiveness does.
Up
0
Down
I've heard once that XL and XS size are important. XL are usually best defenders, because they're bigger and have higher PS and Defense. XS are smaller and best attackers. They're usually faster and have higher attack stats.
I really don't know if it's really real, but I'm gonna try it.