coc-highlight icon indicating copy to clipboard operation
coc-highlight copied to clipboard

Highlighting is slow

Open braun-steven opened this issue 5 years ago • 6 comments

The highlighting seems to be really slow. Even for small files, it takes between 0.5 and 1.0 seconds.

Any chance for improvements or are you just passing the buffer to the highlight server which is the bottleneck here?

braun-steven avatar Jul 23 '19 09:07 braun-steven

Need sometime to start the server. Could slow on buffer create, try use minimal vimrc.

chemzqm avatar Jul 23 '19 10:07 chemzqm

我也是同样的问题,显示高亮很慢,node 12.10.0, neovim v0.4.2

yangxuanx avatar Sep 23 '19 07:09 yangxuanx

Need sometime to start the server. Could slow on buffer create, try use minimal vimrc.

It's the same with a clean vimrc. The server takes way too much time to use this instead of something like ap/vim-css-color

Is there any improvement possible ?

francois-pasquier avatar Jan 25 '20 10:01 francois-pasquier

slow after creation. profile.log image

newbeenew avatar Sep 24 '20 09:09 newbeenew

slow after creation. profile.log image

It's not caused by coc.nvim

chemzqm avatar Sep 24 '20 12:09 chemzqm

slow after creation. profile.log image

It's not caused by coc.nvim

sorry...

newbeenew avatar Sep 24 '20 13:09 newbeenew

From 2.0.0 coc-highlight switched to worker threads and calculate color highlights for changed lines only.

chemzqm avatar Oct 24 '22 18:10 chemzqm