Skip to content

MSAL can consider using lazy import for request, jwt #423

Description

@jiasli

Describe the bug

Importing MSAL is can cost ~300ms on Windows due to some heavy libraries like request and jwt:

python -X importtime -c "import msal"  2>perf.log; tuna .\perf.log

image

MSAL can consider using lazy import for these libraries so that importing MSAL can be lightweight. (Azure CLI lazily imports MSAL: Azure/azure-cli#19898)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions