crossbario / crossbario/autobahn-python
py_eth_sig_utils: excessive startup time
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
On a slower system like a raspberry pi 3, importing something from py_eth_sig_utils takes close to 15 seconds. Not sure what's taking that time, but seems cryptography libraries are somewhat doing their computation on import time.
Contributor guide
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.
Research direction
Start by profiling the import path for py_eth_sig_utils on a slower system such as a Raspberry Pi 3, paying particular attention to cryptography libraries initialized during import. Done would mean identifying the import-time bottleneck and reducing the nearly 15-second startup delay, but the issue names no source file or test to guide the investigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100