Monitor GCC compile time

· Red Hat · Jan. 22, 2025, 7:07 a.m.
Summary
The blog post discusses the importance of monitoring GCC compile times, emphasizing that compile time efficiency should not be overlooked even in the age of fast machines. The author shares personal experiences and techniques for measuring and improving compile time through profiling tools like Valgrind and callgrind. The takeaway is to adopt software practices that prevent unnecessary slowdowns and to measure performance consistently, using a metaphor from carpentry: "Measure twice, cut once."