conda info
Performance regression in 23.7.3 on WSL (find_commands
slowdown)
#13033
Labels
duplicate::primary
if an issue/PR has duplicates, this is the consolidated, primary issue/PR
source::community
catch-all for issues filed by community members
tag::performance
related to degraded performance
type::feature
request for a new feature or capability
What happened?
#13006 causes
conda info
(and anything else that ends up callingfind_commands()
) to take an extremely long time to execute on WSL (30 seconds on my machine), since WSL inherits all of the Windows PATH environment variable. The slowness is caused by the repeatedisfile
calls; it probably ends up delegating to networking calls or something because of WSL weirdness? I do not see the same performance issue on plain Windows, so its not an issue with a longPATH
.Delaying the
isfile
check until after pattern matching succeeds speeds things up considerably (30s to 1s for me).Debug
Conda Details
conda info
conda config
conda list
The text was updated successfully, but these errors were encountered: