You can check if your MacBook is performing thermal throttling like this:
pmset -g thermlog
Leave it running for a bit while you work and if throttling is happening you’ll see more messages appear. The first one appears to be a lie.
My MacBook Pro 15” 2015 was throttling on a hot day last week and at times was running at 20% max processor speed.
With the anti-bad-stuff software I’m obliged to run on this company laptop, this left less than zero cycles for anything else. This meant missing keystrokes, several minutes (!) to launch an app (like Terminal) and some subsystems not starting up (like WiFi).
There were only two solutions that worked: Hold the laptop directly in front of the air con vent, or move to a different room with a lower temperature.
I tried pointing a massive fan at it but this didn’t seem to bring the temperature down enough.
Any other ideas appreciated! (Dust level inside is low)
Try replacing the thermal paste it can dry out and conducts far less heat.
Definitely try cleaning off & repasting the CPU. It’s not too hard to get to: https://www.ifixit.com/Guide/MacBook+Pro+15-Inch+Retina+Display+Mid+2015+Heat+Sink+Replacement/55922
I don’t if the authors will see this, but the abstract on arxiv says they achieved 3x worst speed-up than a brute-force search, whereas says they got within a much more impressive 3%!! I almost skipped this paper because of this one character typo.
Instead of relying on a floating point log it should be pretty simple to modify this to do the needed integer log (it should be quite a bit faster)