I've had several .22 LR Contender barrels over the years (6.5", 10" octagon and bull, 14" blue and AA) and still have 3, all of which have been and are quite accurate.
I've only had 1 .22 Magnum barrel, which was also quite accurate with Winchester hollow points. It was a 10" octagon barrel, with a 4X Burris scope mounted. A friend "had to have" it.
I've never owned a .17 HMR barrel, but have heard good reports on the 14" version.