Blink completion is slower than cmp

Đang mở
#31 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ó
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

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ả

good first issue help wanted

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

  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 editor-code-assistant/eca-nvim

Tất cả issue của editor-code-assistant/eca-nvim

Issue tương tự

Thêm issue về Lua

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.