Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Implementing pre-compiled `Future` objects for `uvloop` to speed up different bottlenecks and sections.

Đang mở
#773 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MagicStack/uvloop

Tất cả issue của MagicStack/uvloop

Issue tương tự

Thêm issue về Performance

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.