Replies: 1 comment
-
|
We can simply make it a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
related issue: #3673 #3669
I used viztracer to inspect the execution flow of
pdm runand discovered that a lot of time is consumed when importingPdmBasicAuthatsrc/pdm/environments/base.py:43.PdmBasicAuthis used to assign a value toself.auth. For most users who do not set any authentication-related parameters, initializing PdmBasicAuth might be unnecessary?Perhaps we can implement an early check here to avoid importing
PdmBasicAuthif authentication is not needed for the client.Attached are the test results:
Beta Was this translation helpful? Give feedback.
All reactions