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

speed up extension loading #267

Merged
merged 3 commits into from
May 1, 2020
Merged

speed up extension loading #267

merged 3 commits into from
May 1, 2020

Conversation

ungarj
Copy link
Owner

@ungarj ungarj commented May 1, 2020

This aims to speed up loading additional drivers, CLI commands and processes which currently use the pkg_resources module which can be replaced by the faster importlib-metadata and
importlib-resources modules.

More details can be found on this setuptools issue.

Still improvements can be made as it seems importing rasterio takes ~400ms alone.

@ungarj ungarj added enhancement cli Command line interface labels May 1, 2020
@ungarj ungarj self-assigned this May 1, 2020
@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 98.625% when pulling b8217c4 on cli_entry_points into ecfa4d3 on master.

@ungarj ungarj merged commit ca7c450 into master May 1, 2020
@ungarj ungarj deleted the cli_entry_points branch July 14, 2021 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Command line interface enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants