startup / instantiation speed
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- performance
Research direction
Start by profiling the shown import fsps and fsps.StellarPopulation() startup path to identify the major bottlenecks. Trace the Python binding into the FSPS initialization it invokes. Done means documenting the bottleneck and reducing construction time to roughly one second with a repeatable timing check.
Written by the indexing model from the issue text.
Description
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
import fsps
pop = fsps.StellarPopulation()
down to ~1 second or so (currently, for me, this takes more like 10 seconds or even longer). What are the major bottlenecks here?
- Dominant language
- Python
- Stars
- 76
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dfm/python-fsps
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
dfm/python-fsps#121 ·
-
Performance question Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
dfm/python-fsps#350 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
dfm/python-fsps#229 · 8 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
dfm/python-fsps#217 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
dfm/python-fsps#199 · 4 comments ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100