Part of the reason paint applied to the pipes doesn't survive is that its only applied to the outside of the pipe. The heat transmits from the inside out, so it effects adhesion of the paint over time.
Ceramic applied inside and outside is best for durability, and performance. It runs about $150-$225 where I have mine done. Not only does the exhaust perform better, it definitely reduces the temperature of the pipe to the touch.