Generally I would say the - android and iPhone- phones are getting slower after a major update, they work best with the operating system they where built on,
Nexus might be a exception, but my iPhone 7 works much slower after updating to iOS 11, and same is galaxy s7 after updating to android 7, but un9it didn't stop me from updating my s9 to oreo...