It depends upon the gun; for example, with a contemporary Glock/SIG/Beretta/HK I'm comfortable with 200 rounds of quality factory ammunition, followed by at least a magazine, preferably a box of the carry ammunition of choice.
For any 1911-platform pistol, I really think that prudence calls for an 800-1000 round probationary period, followed by a recoil spring replacement, followed by a further 200 round probationary period-with both probationary periods covering both the gun and all of the magazines- followed by testing of one's carry ammunition of choice in every magazine to be used.
For a revolver, to establish reliable functioning, probably 100 rounds are acceptable, followed by sufficient carry cartridges to accurately zero the gun. Speeedloaders should be tested for fit vis-a-vis the grips used on the revolver also during the probationary period.
Best, Jon