py3.10下速度非常慢
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 48.7k
- Forks
- 7.7k
- PR merge metrics
- No merged PRs in 30d
Description
❓ Questions and Help
我之前在py3.8下运行qlib都没有问题,但是在py3.10下发现数据提取速度很慢,远远慢于py3.8下。比如df = D.features(
stock_codes,
['$close', '$volume'],
start_time=start_time,
end_time=end_time
),就这样一个简单的语句,我在两个环境下,都在config.py中将NUM_USABLE_CPU 设置为60,但是速度就是差异非常非常大!请大佬们指导下
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.
Research direction
Start with config.py and the D.features call shown in the report, then compare the Python 3.8 and 3.10 environments using the same data, feature list, time range, and NUM_USABLE_CPU setting. Gather a reproducible benchmark and environment details; the issue is done when the slowdown is explained and a validated fix or compatibility guidance is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100