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

Defer loading of importtlib.metadata #466

Merged
merged 1 commit into from
Dec 26, 2023

Commits on Dec 24, 2023

  1. Defer loading of importtlib.metadata

    This package is needed for `load_setuptools_entrypoints`, but it is
    quite slow to import. While most users do use
    `load_setuptools_entrypoints`, maybe some don't, so let's let them avoid
    the cost.
    
    For `import pluggy`:
    Before: 36ms
    After:  11ms
    bluetech committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    59e0ca3 View commit details
    Browse the repository at this point in the history