10.2 TDD and Performance
Acceptable performance is an important requirement in any system. It’s also likely that many of you are programming in C++ expressly because of its potential for high performance. Throughout the book I’ve dismissed concerns about performance and directed you to read this section, but that’s not because performance isn’t important. It is.
Most of what falls under the umbrella of performance testing is neither TDD nor unit testing. This section presents a test-focused strategy for performance optimization and then discusses how unit-level testing can help you execute that strategy. It also discusses how design and performance relate, emphasizing that you should seek optimal design before you attempt to address performance ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access