Chapter 7. Testing and Performance
IN THIS CHAPTER
C++ Concepts
Performance Tuning
Macros
Timing Your Code
Real-Time Performance Issues
GUI Considerations
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
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 ...
Get Applied C++: Practical Techniques for Building Better Software now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.