Many factor’s here. Type of ammo, length of barrel, GP size, type of gas system being used and rate of fire (FA VS SA).
Typically your shorter barrels (with a carbine gas system) are going to errode much faster. As is a gun fired on FA.
If you are shooting a Mil-Spec barrels that is properly chromed (with the correct thickness), in a 16" flavor, I think you won’t see any significant errosion till after 5000-8000 rounds. This is just my opinion so do not take it as fact.
port erosion starts immediately, obviously, and can be detectable pretty quick, depending. i’ve got a 10.5 that’s already opened up 4 thousanths of an inch in less than 5,000 rounds.
as grant said, it depends. one rifle might not erode much in 10,000 rounds, while another might open up a full hundredth, or more, in 10,000 rounds, if it was shot hot and hard for those 10,000. CQB weapons, SBR or not, will erode faster- these guns get shot hot and hard. precision/DMR type guns will probably not erode enough to effect anything for 20k, assuming the leade last long enough to get to 20k