
On Wed, Feb 12, 2025 at 3:02 PM Murali Kishore via Boost < boost@lists.boost.org> wrote:
Hi,
Observing compilation time increase when i include boost interprocess headers. is there a way to reduce compilation time as this time going more than hours in large project.
I have no idea about boost interprocess, but until somebody more knowledgeable answers here are some general tips: 1. see preprocessed file so you can check how much LOC boost interprocess adds 2. ask compiler to print include files, so you can get the idea what boost interprocess includes if you do not want to go over boost interprocess files manually and look for includes LOC is not a precise way to check for slowdowns, but it is a good proxy, for example g++-13 example.cpp -E | wc -l 12461 Then you add boost interprocess headers to example, repeat the command and see how much code was added.