My iPhone 5 went from iOS 6 to 7, 8, and 9. The worst issues I had were with 6, which had such terrible wifi I actually exchanged a few phones before giving up eventually and then finding iOS 7 sorted the problem. Each update brought benefits and I can honestly say it was running as well or better on 9 than it had at any point previously.