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 scripts/tools startup #665

Closed
jordens opened this issue Feb 1, 2017 · 2 comments
Closed

slow scripts/tools startup #665

jordens opened this issue Feb 1, 2017 · 2 comments

Comments

@jordens
Copy link
Member

jordens commented Feb 1, 2017

The entry point scripts are really slow on a regular python installation. The pkg_resources mechanism scans the complete python path multiple times.

This seems to be pypa/setuptools#510

Maybe involved in #407 but then again maybe not because we pool the workers.

@sbourdeauducq
Copy link
Member

fastentrypoints breaks the new-style conda noarch package (and the old style noarch breaks entry points on Windows with recent conda, resulting in a "Failed to create process" error).
This only slows down the startup of ARTIQ programs when started by the user from the command line. Everywhere else, including in worker startup, subprocess creation is done with sys.executable + " -m artiq.xxx" so as to depend as little as possible on the packaging system.

@sbourdeauducq sbourdeauducq reopened this Jun 6, 2017
@sbourdeauducq
Copy link
Member

Doesn't seem to be an issue anymore.

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

No branches or pull requests

2 participants