Giter Club home page Giter Club logo

Comments (8)

rvanasa avatar rvanasa commented on June 18, 2024 1

Thanks! I will increase the priority of further optimizations (currently representing DFINITY at ETHDenver, so I'll most likely take another look at this after March 5). If anyone reading this is at the convention, definitely come say hi! :)

from vscode-motoko.

letmejustputthishere avatar letmejustputthishere commented on June 18, 2024

can this be improved? i autosave every 500ms (in case that has an effect)

from vscode-motoko.

rvanasa avatar rvanasa commented on June 18, 2024

Does this still happen when autosave is turned off? This looks like a bug with the type checking debounce logic (rather than purely a performance issue), so it'll be helpful to know whether this is related to autosaving.

from vscode-motoko.

AleDema avatar AleDema commented on June 18, 2024

I have this issue too and autosave is turned off, not sure if it could be caused by wsl2.

from vscode-motoko.

letmejustputthishere avatar letmejustputthishere commented on June 18, 2024

turning off autosave didn't help :/
i'm on macos and use the latest version of the plugin

from vscode-motoko.

rvanasa avatar rvanasa commented on June 18, 2024

Thanks for checking. Are there any public projects which I could use to fully recreate the issue on my end?

For some context, large projects with > 100 files used to take over a minute to fully type-check (comparable to large Rust projects in VS Code). Something on the order of 1-2 seconds is currently expected for projects with large numbers of files and dependencies. This can be further improved in the future, and hopefully the recent round of optimizations makes the extension a lot more usable for large projects in the immediate term.

from vscode-motoko.

letmejustputthishere avatar letmejustputthishere commented on June 18, 2024

Yes, you can check this
https://github.com/flowerpowerdao/power-equalizer

from vscode-motoko.

rvanasa avatar rvanasa commented on June 18, 2024

Version 0.13.11 of the extension includes several bugfixes and improvements to address this issue. I'll leave this issue open for a bit; if you notice a difference (or lack thereof) in the smoothness of the type checker, definitely let me know so I can determine whether to prioritize another round of optimizations. :)

from vscode-motoko.

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.