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

Precompilation #94

Merged
merged 6 commits into from
Dec 13, 2022
Merged

Precompilation #94

merged 6 commits into from
Dec 13, 2022

Conversation

jkosata
Copy link
Member

@jkosata jkosata commented Dec 13, 2022

#53
using SnoopPrecompile to run our parametron.jl during precompilation stores all precompilation results.

At the cost of a 37 MB file, this decreases the time to run the git intro code (Duffing steady states) in a fresh julia session from 187 s to 147 s . Still quite bad but a very-low-hanging improvement.

@oameye
Copy link
Member

oameye commented Dec 13, 2022

It's a super good idea to use the test files as precompulation. We should also add the plot function as these also take a substantial time to compile.

@jdelpino jdelpino merged commit a7e0abc into master Dec 13, 2022
@jdelpino jdelpino deleted the precompilation branch December 13, 2022 22:36
@oameye
Copy link
Member

oameye commented Dec 14, 2022

Mmmmmm, not sure if we wanted to puch these changes already. I kinda wanted to play with this a little 😅

@oameye
Copy link
Member

oameye commented Dec 14, 2022

@jkosata Did adding plot gave any improvements?

@jkosata
Copy link
Member Author

jkosata commented Dec 14, 2022

Yea I thought this was safe enough for the master branch, I hope I was right :D I didn't try the plot speed

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.

3 participants