conan-io / conan

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

Build profiling using Conan? #16516

Closed devlpr closed 4 months ago

devlpr commented 4 months 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 4 months 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 4 months 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