Here's a library to read the internal temperature of the Teensy 3.x or LC. Now you can see how hot the processor gets when running your new algorithm at maximum overclocking . Or run it in low power mode to get an approximation of the air temperature.
Library is at https://github.com/LAtimes2/InternalTemperature.
Documentation is here.
Library is at https://github.com/LAtimes2/InternalTemperature.
Documentation is here.