It’s also a good idea to clean install Windows 10 after upgrading so you are not transferring problems from your old Windows install. Simply using Windows over time will eventually degrade its performance.
It doesn’t really matter what version of Windows you have, the best way to get your system working at its full speed and as issue free as possible is with a clean install of the operating system.