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

Listing directory too slow #423

Open
retzero opened this issue Jul 17, 2023 · 1 comment
Open

Listing directory too slow #423

retzero opened this issue Jul 17, 2023 · 1 comment
Labels
enhancement Feature request to extend functionality Help Wanted We will be glad if somebody proposes a solution via PR

Comments

@retzero
Copy link

retzero commented Jul 17, 2023

Hello.

I have total 373 files in my artifactory path, and below example code spend more than 3 seconds. 😭

path = ArtifactoryPath("http://repo.jfrog.org/artifactory/distributions/org/")

for p in path.glob("**/*.gz"):
    print(p)

But the official listing API returns immediately. (in a milli seconds)
https://jfrog.com/help/r/jfrog-rest-apis/file-list

Can you please improve the performance for the basic file listing call?

@allburov
Copy link
Member

Hi! We're open for pull requests!

@allburov allburov added Help Wanted We will be glad if somebody proposes a solution via PR enhancement Feature request to extend functionality labels Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request to extend functionality Help Wanted We will be glad if somebody proposes a solution via PR
Development

No branches or pull requests

2 participants