Skip to content

Conversation

schaefed
Copy link

@schaefed schaefed commented May 31, 2018

I experienced really long startup times for pyls with my setup (Windows 7 VM, fairly large anaconda environment). This PR decreases the number of actual imports done during initialization of workspace.py and reduces startup time on my machine from ~18 seconds to ~2 seconds.

@palantirtech
Copy link
Member

Thanks for your interest in palantir/python-language-server, @schaefed! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

@gatesn
Copy link
Contributor

gatesn commented Jun 1, 2018

I would rather make the preloaded modules configurable if that works for you? #367

@gatesn gatesn closed this in #367 Jun 1, 2018
@schaefed
Copy link
Author

schaefed commented Jun 2, 2018

That works perfectly, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants