Giter VIP home page Giter VIP logo

Comments (6)

doronbehar avatar doronbehar commented on June 3, 2024 1

I've experienced this issue as well when I installed rls manually according to their instructions. After I read that coc-rls can install rls for you, I ran rustup component remove rls rust-analysis rust-src and tried launching Neovim afterwards so coc-rls will prompt me to install it by itself. I don't know why and perhaps there were other factors in my setup but you should try to do the same.

from coc-rls.

chemzqm avatar chemzqm commented on June 3, 2024

Which process cause high CPU, the node process or rust process?

from coc-rls.

chemzqm avatar chemzqm commented on June 3, 2024

Checkout https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel output channel to see what the server is doing.

from coc-rls.

LinArcX avatar LinArcX commented on June 3, 2024

@chemzqm rls process get the high cpu.
also i run:
:CocCommand workspace.showOutput
but nothing show me.

from coc-rls.

chemzqm avatar chemzqm commented on June 3, 2024

Have no idea with that, maybe try upgrade your rls.

from coc-rls.

idMysteries avatar idMysteries commented on June 3, 2024

When I edit the .rs file, the rls loads the CPU by up to 30% for one second (on the first run). And then a maximum of 20% less than a second.. On average, the load is 2-14% (0-1% after 5 minutes 👍) when editing and 9-22% when save (or when exiting insert mode).
This is not a permanent load. Maximum 2 seconds when save (maybe thanks to SSD), then load 0%

from coc-rls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.