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

Investigate performance #23

Open
geowurster opened this issue Sep 16, 2018 · 1 comment
Open

Investigate performance #23

geowurster opened this issue Sep 16, 2018 · 1 comment

Comments

@geowurster
Copy link
Member

As indicated by pypa/setuptools#510, pkg_resources is known to be slow. click-plugins leverages setuptools entry points to load CLI plugin commands but this comes with a performance hit for the entire CLI application. I don't think there is anything to be done about it directly but it is worth documenting the behavior and trying fast-entry_points.

@BlinkyStitt
Copy link

importlib_metadata.entry_points() is also faster than pkg_resources.

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

No branches or pull requests

2 participants