Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake profiling results #4758

Closed
hkaiser opened this issue Jun 16, 2020 · 0 comments · Fixed by #4760
Closed

CMake profiling results #4758

hkaiser opened this issue Jun 16, 2020 · 0 comments · Fixed by #4760

Comments

@hkaiser
Copy link
Member

hkaiser commented Jun 16, 2020

CMake V3.18 can output profiling traces. The results show that about 40% of the time is spent in configuring and about 60% of the time is spent generating the make files. The interesting part is that during generation, about 50% of the time is spent in the function create_configarion_summary, and about 20-30% are spent during generating the force_linking header and source files (will go away soon). Here is an exemplar visualization for one of the HPX modules:

image

that demonstrates this nicely. I think we may have some low-hanging fruit here allowing to significantly reducing the generation phase of our build system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant