9.3. Speeding up the build

When it comes to optimizing build speed outside of the code you’re building and testing, the big question is once again, what’s the bottleneck? Fundamentally, your build is either CPU-bound or I/O-bound. What that means is that upgrading your old hard disk to a blazing fast solid-state drive (SSD) has much less of an impact to your build time if it’s your CPU that’s running white hot throughout the build. Most likely improvements to both I/O and CPU performance will have an impact—the question is how big of one.

The following sections will introduce a number of changes to your build infrastructure that may have a positive impact. Your homework is to profile your build and explore which of them has the biggest impact ...

Get Effective Unit Testing now with O’Reilly online learning.

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