Implementing pre-compiled `Future` objects for `uvloop` to speed up different bottlenecks and sections.
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- performance
Hướng nghiên cứu
Start by reading the referenced Winloop pull request (Vizonex/Winloop#164) and compare its compiled Future changes with uvloop’s existing implementation. The issue also proposes changing how Task objects advance coroutine frames, but names no files, tests, or benchmarks. Identify the relevant uvloop entry points and agree on measurable performance targets before considering the work done.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I have always been a friendly competitor to other libraries and I think it's time this library tries to implement compiled Future objects as shown by the success of this pull request to winloop. Currently I do not have the time on my hands to do such a task yet as I have been either sick or busy. This shouldn't be too difficult as outlined in the Pull request referenced. https://github.com/Vizonex/Winloop/pull/164 There is also an idea for Task objects that utilizes UVAsync to move coroutine frames along instead of needing to call Loop.call_soon every time which has always been ineffective and costly. I have seen great success rates with dns calls by making these changes and maybe along the way many other things can be further optimized by these ideas.
- Ngôn ngữ chính
- Cython
- Star
- 11.9k
- Fork
- 615
- Merge trung bình
- 4 giờ 43 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 MagicStack/uvloop
-
uv 1.53.0 fixCó thể đã có người làm @fantix đã nhận 4 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
MagicStack/uvloop#774 · 1 bình luận · 1 reaction ·
-
License not clearĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
MagicStack/uvloop#759 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
MagicStack/uvloop#741 · 2 reaction ·
-
`asyncio.get_event_loop` raises error instead of spawning new loop when no loop is running.Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
MagicStack/uvloop#702 · 8 bình luận · 9 reaction ·
-
UDPTransport.abort() with a queued datagram reports a fatal write error and a resume_writing() AttributeErrorCó thể đã có người làm @graingert đã nhận 5 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
MagicStack/uvloop#771 ·
Tất cả issue của MagicStack/uvloop
Issue tương tự
-
external feature request text-splitters
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
langchain-ai/langchain#41191 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug confirmed perf
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
videojs/video.js#9400 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
nightscout/AndroidAPS#5245 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
unslothai/unsloth-zoo#1661 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Performance: deprecated DeviceEntry.config_entries access blocks the event loop for tens of secondsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
tuya/tuya_cloud_ha_bridge#14 ·