This is my own anecdote but if if I'm looking to get as accurate as possible data for speed, I don't think anything is better than a separate sensor. There's always a slight delay in the GPS signal and more accurate when riding at a slower pace.
I can't imagine not having a gps bike computer. It's such a great tool. I wouldn't want to use up phone battery while riding. It has enough to do.