O'Reilly logo

Applied C++: Practical Techniques for Building Better Software by Amy Muntz, Philip Romanik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required