Re: help with improving compile times

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15/05/2017 12:11, Matthias Kretz wrote:

> I'm looking for help on improving the compile times of my unit tests. Compile 
> times of >60s per TU is making my life hard.
> Alternatively, if you can tell me there's nothing I can do, then I can accept 
> my fate and stop worrying about compile time optimizations. [...]
> 
> If you have any ideas what I could do (other than "test less"), I'd like to 
> try it.

If compile-time is an issue (rather than run-time) perhaps you can try reducing
the optimization level to -O1. You should also test at -O0.

If -O1 has acceptable compile-time and run-time, then you're (mostly) done.

Perhaps just a single optimization tickles a pathological corner case?

Regards.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux