Optimization study of a picosecond rotating-mirror autocorrelator