conan-io / conan

Conan - The open-source C and C++ package manager
https://conan.io
MIT License
7.95k stars 951 forks source link

Build profiling using Conan? #16516

Closed devlpr closed 1 week ago

devlpr commented 1 week ago

What is your question?

Would Conan be a good fit for adding build profiling since it executes all of the build commands? Having a graph of all the execution times would go a long way toward efficient builds.

Thanks in advance!

-Darin

Have you read the CONTRIBUTING guide?

memsharded commented 1 week ago

Hi @devlpr

yes, Conan has some mechanisms intended to be able to deal with some of these "meta-build" things:

Maybe for this specific use case, the hooks looks better.

devlpr commented 1 week ago

Thanks very much. We will look into this. We do have metrics collection already so this may not be too bad.

I really appreciate your response!

-Darin