audeering / audfactory

Communicating with Artifactory
https://audeering.github.io/audfactory/
Other
0 stars 0 forks source link

WIP: Increase Lookup speed #22

Closed hagenw closed 2 years ago

hagenw commented 3 years ago

Closes #5

hagenw commented 3 years ago

Just as a test I tired to use a temporary file instead of using the io module to avoid temporary files. It doesn't seem to change anything in terms of execution time.

hagenw commented 3 years ago

I guess we have to debug first why it takes so long.

My guess is that we might be able to speed it up by storing the lookup tables in a cache and only update them if the checksum is no longer identical to the server. My hope would be that checking the checksum is faster then downloading the lookup table every time.

codecov[bot] commented 3 years ago

Codecov Report

Merging #22 (5c4bd64) into master (b530961) will not change coverage. The diff coverage is 100.0%.

Impacted Files Coverage Δ
audfactory/core/lookup.py 100.0% <100.0%> (ø)
hagenw commented 2 years ago

We will no longer try to improve the speed for Lookup