My Colt Trooper has malfunctioned more times than my Glock 23 has. My Glock 23 has never malfunctioned.
Semi-autos are more ammo-sensitive than revolvers. That's what makes the difference. For competition with a semi-auto, I had to go to reloading my own ammo and religiously keep the gun clean to guarantee no malfunctions.
But, ammo will make all the difference in the world in a semi-auto. Most of your off-the-shelf Walmart type stuff won't be dependable after a few months of temperature extremes from constant car to house storage. For better reliability, you need to go to milspec ammo with sealed bullets/primers.