-
Notifications
You must be signed in to change notification settings - Fork 38
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
startup / instantiation speed #108
Comments
I haven't profiled it, but I think the hard work is being done in Additionally, generating SSPs on the first call to |
I've looked into this. The interpolation is a contributor, but only about half of all startup time. You won't get to 1 second by dealing with the interpolation; one could build FSPS with The harder obstacle is that calling the |
Thanks for looking into this. Only one of the set of isochrones text files will be read in at a time, but for the default MIST isochrones this is still ~140MB. The much larger file sizes versus say Padova is largely due to extra isochrone sampling on the TP-AGB evolutionary phase that probably doesn't make much a difference for output SEDs. So the number of isochrone points could be reduced, or the isochrone data could be turned into binary files like the spectral libraries. Hopefully we can get to this (really its an FSPS issue) sometime soon. |
Hello,
I'd like to embed fsps into a framework which requires that instances be brought up and down rapidly. In particular, I'd like to get
down to ~1 second or so (currently, for me, this takes more like 10 seconds or even longer). What are the major bottlenecks here?
The text was updated successfully, but these errors were encountered: