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

Profile compile time #33

Closed
Lexseal opened this issue Nov 17, 2023 · 2 comments
Closed

Profile compile time #33

Lexseal opened this issue Nov 17, 2023 · 2 comments

Comments

@Lexseal
Copy link
Collaborator

Lexseal commented Nov 17, 2023

Compilation is quite slow even on my 12900k. Looks like the linking takes the most amount of time but need to verify.

Profile the compilation process and identify the bottleneck. Then, look for solutions to speed it up.

@Lexseal
Copy link
Collaborator Author

Lexseal commented Nov 17, 2023

j8_fresh_build.txt
FWIW here's some compiler output from g++. Don't know how to interpret it but going to try a faster linker and compiler cache.

@Lexseal
Copy link
Collaborator Author

Lexseal commented Nov 17, 2023

swapped out the linker and added ccache to shave of a couple of seconds but a full build still takes 100 seconds. Need to get rid of the templating stuff to further increase the speed.

@Lexseal Lexseal closed this as completed Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant