Git Product home page Git Product logo

Comments (6)

DragonKnightOfBreeze avatar DragonKnightOfBreeze commented on May 28, 2024

The PLS plugin developed by me has been made several optimization for memory and cpu usage. Please try the lastest plugin version (1.0.8, will be visible on plugin marketplace soon) and recheck the performace.
Until now, the cpu and memory usage during indexing is still not ideal (but it need to be for it's indexing logic), the cpu and momoery usage of code completion and reference resolving should be pretty good for script and localisation files up to thousands of lines.

from paradox-language-support.

DragonKnightOfBreeze avatar DragonKnightOfBreeze commented on May 28, 2024

Besides, you can try:

  • suppress inspections for very large files. (usually, add "# noinspection ALL" at the first line)
  • disable related inlay hints (e.g. inlay hints of localisation icon)

from paradox-language-support.

DragonKnightOfBreeze avatar DragonKnightOfBreeze commented on May 28, 2024

If what you mention is localisation references ($LOC$), since 1.0.7, the performance to resolve these should be optimized.

from paradox-language-support.

TTFTCUTS avatar TTFTCUTS commented on May 28, 2024

It seems I was on 0.10.2 before. I just updated to 1.0.7 and will check out performance now.

from paradox-language-support.

TTFTCUTS avatar TTFTCUTS commented on May 28, 2024

Oh wow, that's an incredible improvement! It only took around 3 seconds even on our main file, which is nearly 20000 lines long.

I think everything is working now, thank you.

I encountered the issues a week or two ago, but I should have checked for a newer version before posting an issue. Apologies for the inconvenience.

from paradox-language-support.

DragonKnightOfBreeze avatar DragonKnightOfBreeze commented on May 28, 2024

The main performance issue is not for localisations, but for ... you can try to find out them XD.

from paradox-language-support.

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.