Hello. I would like to know the different between ...
# general
w
Hello. I would like to know the different between cached locally and memoized? For example, when using pants in our CI, sometimes I see
Copy code
project_a/test_helloworld/unit/translator_test.py succeeded in 0.61s (cached locally).
sometime it is
Copy code
project_a/test_helloworld/unit/translator_test.py succeeded in 0.61s (memoized).
b
Cached locally means pants read the disk cache. Memoized is when the pantsd process had the result already in memory
☝️ 1
🙏 1
h
Note that the
0.61s
is the time the cached process took to run originally, not the time it took to retrieve from cache
🙏 1