Chapter 7. Testing and Performance
IN THIS CHAPTER
Timing Your Code
Real-Time Performance Issues
Image Framework Concepts
Unit Test Framework
No software development effort is complete until you do some testing and performance tuning. This chapter provides guidelines for unit tests and creates a framework for automatically running them. In addition, we provide thirteen specific techniques that you can apply to your code to optimize performance.
Unit tests are small pieces of software that test specific conditions in your source code. Typically, it is the developer’s responsibility to write and maintain unit tests. Unit tests are often used to test such conditions as boundaries, unusual ...