I am quickly summarizing up the best way to speed up a slow mac performance:-
Find resource hungry processes
Close applications
Prune all the startup programs
Reduce transparency and animations
Use a light web-browser like Google Chrome
Disable FileVault disk encryption
Speedup the finder
Free up some extra drive space using software like Stellar Speedup Mac
Reset your SMC to fix all type of errors
Finally, reinstall Mac OS XUninstall Unused Fonts
Finally, reinstall Mac OS X if it is still slow.