In this chapter, we've learned about the following three basic rules of optimization:
- Make it work first
- Work from the user's point of view
- No matter what, keep the code readable
With these rules in mind, we reviewed some of the tools and techniques that allow us to identify performance bottlenecks of various kinds. Now that you know how to diagnose and identify performance issues, you're ready to start mitigating them. In the next chapter, we will review popular and powerful optimization techniques and strategies that can be easily applied to the vast majority of performance issues.