skip installing apt-fast on cache hit
daaku opened this issue · 4 comments
daaku commented
Would it be possible to skip installing apt-fast
if there is a cache hit? Maybe the installation can be moved to right before it's use in install_and_cache_pkgs
?
awalsh128 commented
Sure that should be easy to do. The download of the tool should be fast. Are you seeing a slowdown or just from looking at the code?
daaku commented
I only measured it locally and it seemed like an unnecessary slowdown for the cache hit case since it isn't used in that flow.
awalsh128 commented
I agree, it can be moved. Out of curiosity, what kind of latency were you seeing?
daaku commented
I was seeing 1.2s locally from my laptop to curl the apt-fast
installer CLI.