Blink completion is slower than cmp

Aperta
#31 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
43/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
lua, neovim

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Lua
Stelle
68
Fork
6
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di editor-code-assistant/eca-nvim

Tutte le issue di editor-code-assistant/eca-nvim

Issue simili

Altre issue su Lua

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.