Speeding up looper CLI use
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- cli, performance
Hướng nghiên cứu
Start by running python -X importtime -c 'import looper' and inspect the looper import paths responsible for loading pandas, peppy, and sqlalchemy via pephubclient. Identify imports that are only needed by specific CLI operations. Done means unnecessary heavy dependencies are deferred until needed and looper CLI startup is faster without changing its behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I'm unsatisified with how long it takes the looper CLI to run. I guess it's because looper imports a bunch of heavy stuff, like pandas, peppy, sqlalchemy (via pephubclient), etc.
A lot of these aren't necessary.
I suggest we see if it's possible to import some of the heaviest things only as needed, instead of at the top of the file as is typically done.
You can profile import time like this:
python -X importtime -c 'import looper'
- Ngôn ngữ chính
- Python
- Star
- 25
- Fork
- 7
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pepkit/looper
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
pipestat output schema seems to lack path templatesCó thể làm lại được @donaldcampbelljr đã nhận 473 ngày trước và không có pull request nào đang mở. Đang mởquestion
-
question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
-
Optimize how and when looper checks pipestat config and allow user to overwrite when running samplesĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của pepkit/looper
Issue tương tự
-
Test: to_hijri() accepts datetime.datetime and uses only the date partCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởgood first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
omarelshamy25x/shamy-hijri#63 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày