A compiler often can, by rearranging its generated machine instructions for faster execution, improve program performance.
Compilers can improve program execution speed by optimizing the generated machine code.