Chapter 7. Testing and Performance


  • 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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.