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

listdir is slow with large folder #31

Open
griffinkelly opened this issue Mar 9, 2023 · 0 comments
Open

listdir is slow with large folder #31

griffinkelly opened this issue Mar 9, 2023 · 0 comments

Comments

@griffinkelly
Copy link

griffinkelly commented Mar 9, 2023

Trying to see if there's a way to speed up the listdir function. If I have a large folder with 100+ files, it takes quite some time for the listdir function to return--I'm using the StorageFS class.

This returns very quickly when I time it, so unsure where the latency is hidden.
directories, files = self.storage.listdir(path).

It must be somewhere in pyftpdlib?

Does anyone have any suggestions on how to speed this up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant