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

Slow startup when Hy is installed from a wheel #1747

Closed
Kodiologist opened this issue Feb 12, 2019 · 5 comments · Fixed by #2299
Closed

Slow startup when Hy is installed from a wheel #1747

Kodiologist opened this issue Feb 12, 2019 · 5 comments · Fixed by #2299
Labels

Comments

@Kodiologist
Copy link
Member

Testing the new release of 0.16.0, I see that startup is much slower when installing from the wheel than from the source distribution or directly from the repository. Likewise for older Hy releases. Even when I make sure the __pycache__s are included in the wheel and I can see they're installed. Either there's something wonky with my system, or wheel installation doesn't play nicely with premade byte-compiled files.

@brandonwillard
Copy link
Member

Maybe a bytecode version thing? If you turn on debug, does it say it's recompiling?

@Kodiologist
Copy link
Member Author

Sorry, which debug mode do you mean? Should HY_DEBUG print such messages?

@brandonwillard
Copy link
Member

I was thinking of -d.

@Kodiologist
Copy link
Member Author

I don't seem to get any messages about compilation from python3 -d -m hy.core.language.

@Kodiologist
Copy link
Member Author

Speed issues have gotten worse since the establishment of Hyrule, even when I've ensured that bytecode is pregenerated and installed. I think I may try to address them soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants