Some models of CPUs and GPUs will boost themselves automatically if there is enough thermal headroom. It is true that properly cooled components ensure better performance in some way or another.