Complex subject - depends on the threat, really.
There are other factors to be considered: magazine capacity, recoil, follow-up shots, shooter experience, etc.
For self-defense against a threat that is under the influence of drugs? Wearing winter clothing? Large in size? 10mm has some performance advantages.
I am a fan of the 10mm. But in my case, the disadvantages of recoil and follow up are mitigated by experience and training. Magazine capacity limitations are mitigated by the capacity of the Glock 20. But the G20 is a big gun, hard to conceal, not appropriate for many situations...