Blink completion is slower than cmp
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 43/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- lua, neovim
- Lĩnh vực
- developer-experience, performance
Hướng nghiên cứu
Start by reproducing the slowdown with blink-cmp in the chat window using / or @, then profile the completion path; the issue links profiling guides for snacks.nvim, profile.nvim, and perfanno.nvim. Compare the measured completion time with cmp and check whether the server calls queryContext or queryCommand account for the delay. The issue does not name files or tests; done means identifying where completion time is spent and documenting the cause.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
As I called out in #23 , the blink completion is noticeably slower than cmp. On the server side the queryContext and queryCommand calls return in milliseconds. There are many profilers available that might let us see where we are spending our time in completion, allowing us to identify the issue.
This can be reproduced by installing blink-cmp, and typing one of the completion triggers in the chat window (/ or @)
https://github.com/folke/snacks.nvim/blob/main/docs/profiler.md
https://github.com/stevearc/profile.nvim
https://github.com/t-troebst/perfanno.nvim
- Ngôn ngữ chính
- Lua
- Star
- 68
- Fork
- 6
- 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
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 editor-code-assistant/eca-nvim
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 42/100
editor-code-assistant/eca-nvim#56 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
editor-code-assistant/eca-nvim#44 · 6 bình luận ·
-
Separate the concern of message processing from UI presentationCó thể làm lại được @tomgeorge đã nhận 471 ngày trước và không có pull request nào đang mở. Đang mở
editor-code-assistant/eca-nvim#27 · 3 bình luận · 1 reaction · 1 người được giao ·
-
help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
editor-code-assistant/eca-nvim#9 · 12 bình luận ·
Tất cả issue của editor-code-assistant/eca-nvim
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:boot area:ci phase:2 priority:P1 type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
wenkais196-Gabriel/T-City#504 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
forever from-game
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
openmap-world/openmap#655 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Data Correction Forever
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày