Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very slow startup when packages aren't yet cached #56

Open
non-Jedi opened this issue Dec 2, 2019 · 4 comments
Open

Very slow startup when packages aren't yet cached #56

non-Jedi opened this issue Dec 2, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@non-Jedi
Copy link
Member

non-Jedi commented Dec 2, 2019

As an example, I'm still waiting for the symbol server store to be set with https://github.com/non-Jedi/ChemicalEngineeringToolbox.jl/blob/master/Project.toml after something like 15 minutes. I'm assuming that generating the ".jstore" files is just a very slow process? It doesn't seem to be jit startup time because I'm getting every couple minutes a new [ Info: Interpolations not stored on disc, so it must be that the operation is just slow no matter what.

@davidanthoff davidanthoff added the bug Something isn't working label Dec 2, 2019
@davidanthoff davidanthoff added this to the Backlog milestone Dec 2, 2019
@davidanthoff
Copy link
Member

So we're going to tackle this kind of problem after we release v0.13 of the VS Code extension.

@Petr-Hlavenka
Copy link

I'd like to ask, the --uuid--.jstore are cached for unique package. How it distinguishes between different versions of the package, if more of them are installed and, e.g, used simultaneously in 2 different instances of VScode? Should it not also include similar strategy as Julia 1.3 with keeping .ji files for last ~20 versions of a package? I'd be glad for clarification.

@davidanthoff
Copy link
Member

Yeah, we might need a much more fine grained story there... Maybe also differentiate based on what Julia version was used.

@davidanthoff
Copy link
Member

master now has a version that does the whole indexing async in the background. That should unblock a lot of things, in particular the LS should start working long before the indexing is done.

We should still try to improve performance of the indexing.

We also now store the cache per version of the package, no longer by UUID. The cache is essentially now stored by the git tree hash (with some twists for deved and stdlib packages).

@davidanthoff davidanthoff removed this from the Backlog milestone Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants