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

Feature precompiled header #23

Merged
merged 5 commits into from
Jul 18, 2024
Merged

Feature precompiled header #23

merged 5 commits into from
Jul 18, 2024

Conversation

ewanwm
Copy link
Owner

@ewanwm ewanwm commented Jul 18, 2024

Use precompiled headers to speed up build times quite a bit.

Tested with and without PCH and got following build times (both ran twice, with a subsequent build done by changing a single file):

--------- without PCH ---------
###### run 1 #######
sys 0m14.775s

###### run 2 #######
sys     0m14.984s
    --- subsequent build (after change in base-matter-solver.hpp):
    sys     0m9.977s

--------- with PCH ---------
###### run 1 #######
sys 0m9.119s

###### run 2 #######
sys     0m9.983s
    --- subsequent build (after change in base-matter-solver.hpp):
    sys     0m4.395s

@ewanwm ewanwm merged commit 231d4b1 into main Jul 18, 2024
1 check passed
@ewanwm ewanwm deleted the feature_precompiled_header branch July 18, 2024 11:24
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

Successfully merging this pull request may close these issues.

1 participant