devopshq / devopshq/artifactory
Listing directory too slow
- Dominant language
- Python
- Stars
- 306
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
Hello.
I have total 373 files in my artifactory path, and below example code spend more than 3 seconds. 😭
```python
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the ArtifactoryPath("http://repo.jfrog.org/artifactory/distributions/org/") call and its glob("**/*.gz") entry point, then compare the current listing behavior with JFrog's official File List API. Done means the example returns the same matching paths without the reported multi-second delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100