Regression testing can be used not only for testing the correctness of a program, but it is also often used to track the quality of its output.
For instance in the design of a compiler, regression testing should track the code size, simulation time and compilation time of the test suite cases.