slamfire and walk are both right here; and there is another right. It really depends on the individual weapon, and the maker to a large extent. I remember reading a great article on this, about 1.5 yr ago. The testers used a variety of rifles, some new, some a few years old, some several years old. some semi's, some bolties, some levers.
Some rifles could benefit from being cleaned, some could not at all, some rifles shot near their first shot attempt, some were between 1 and 2 inches off, some were never anywhere near the first shot, and could not be counted on to group near it , either. The rifles were all treated the same; during portions of the test, they were thoroughly cleaned between groups, then they were just given 15 mins. between groups, then they were given a rest time of 1hr. or more, between groups. then they were given a week between groups. All the above, except the first of cleaning between groups, all the other testing was done , dirty.
Then all the above was done, but with cleaning between all the wait times.
Basically , the results were this; out of about 30 diff rifles, and diff mfgrs, all rifles performed better, clean. Not necessarily a lot, but better, and just generally so. Some rifles did not improve, no matter what they did, Mostly the Rugers. The levers liked to be clean, And a few rifles like a Savage in 243, a Howa heavy varmint in 223, and a Weatherby, and 1 or 2 others, really performed well. When I say performed well, this was by these standards;
the first shot, was very close or right on their point of aim, the following shots were very close to , or right on the first shot, the remaining group, was also in the same spot above.
So yes, if you have a crap bbl, or a custom bbl, if you want it to perform well, clean it; and also , if you have a match, since it is allready very clean, it is also the right thing to do , to put a couple of fouler rounds down it, as this will put your group tightly together, and near it's own perfect point of impact/ point of aim situation.
One more thing, this testing did not include 22 rifles, of which , I personally hardly ever clean mine, and do not clean, until accuracy starts to fall out.