CCleaner was originally known as Crap Cleaner and cleaned up its name when it went commercial.
As far as I've ever known, file cleaning is not done to improve "speed" of the computer but to reclaim what would otherwise be dead disk space. I've always found it pretty appalling how many programs leave all kinds of garbage lying around from installation, uninstallation, and otherwise.
Registry cleaning is what I've always heard claims made regarding improving overall speed, and whether it does or not at least the theoretical basis for that claim has surface validity. I don't do it anymore, though, as it doesn't seem to have any effect that I've ever been able to detect.
Cleaning browser cache and optimizing the databases they use definitely has a positive impact on performance and often solves actual problems with their behaviors.
Brian AKA Bri the Tech Guy (website in my user profile) - Windows 10 Home, 64-Bit, Version 1809, Build 17763
Travel is fatal to prejudice, bigotry, and narrow-mindedness, and many of our people need it sorely on these accounts. Broad, wholesome, charitable views of men and things cannot be acquired by vegetating in one little corner of the earth all one's lifetime.
~ Mark Twain