I haven't worn out the barrel of a handgun yet but, I have worn out quite a few rifles barrels. When I shot service rifle competition, I burned out two barrels before switching to a bolt action match rifle.
My primary Mod. 70 match rifle is on its fifth barrel. Another one had two replacements. Both of my current AR match rifle uppers are still on their first barrels another one went through two barrels.
With .308/7.62 barrels my experience and records showed that they held their accuracy lasted for approximately 5,000 rounds each. The bolt action rifles, shot with heavier bullets at the 600 yard line, lasted about 4,000 to 4,250 rounds.
The .223 barrels last a little longer, about 5,250 +\- rounds. I never switched to the 6mm rounds and they last about 2,000 rounds.
A shooting partner had a barrel on his .223 match rifle that had almost 6,000 rounds down the tube. When it was replaced, he had the first 12 inches of the barrel cut in half lengthwise. It was very interesting.
The rifling past the chamber and throat was absolutely gone for approximately an inch. The bullet "jumped" through the "free bore" area into the rifling. This barrel still provided acceptable accuracy at 200 and 300 yards but, the true test was at 600 yards. He could hold the 10 ring, catch a few X's but, would get anywhere from 4 to 5, 9's and a few "flyers" in the 8 ring.
He is a retired engineer and I asked him that if he was trying to prove that his barrel was worn out, he had accomplished his task. He took the hint and changed the barrel and routinely shoots 195 and better at the 600 yard line.