There are several techniques to optimize performance. They are related and must be considered together.