Eric Gunnerson 的 Design for Performance vs. Tune for performance 讓我想起之前讀過 Paul Vick 的這篇文章 The Ten Rules of Performance。
我自己歸納了幾個了幾個重點:
- Don’t guess, do profiling.
- Fix performance problem as early as possible.
- Performance should be designed in.
- Memory access is more expensive than CPU cycle.
- Develop a “performance culture” in the team/company.