Near my bed, I have a Glock 17, Glock 20, Glock 21, Glock 23, and Glock 31 within easy reach.
I would feel quite comfortable defending myself with any of the five.
Glock 17 is loaded with 17+1 124 grain +P Gold Dots (Georgia Arms)
Glock 20 is loaded with 15+1 175 grain Winchester Silvertips (1290 fps)
Glock 21 is loaded with 13+1 230 grain Federal Hydrashoks
Glock 23 is loaded with 13+1 165 grain Gold Dots (Georgia Arms)
Glock 31 is loaded with 15+1 125 grain Speer Gold Dots
I feel that a well placed hit from any of the above is going to do the job, and I have equal confidence in all of the above.