How do you clear cache from a __precompile__()?

Take a look at base/loading.jl, there is a handy function that searches for cachefiles: Base.find_all_in_cache_path.

map(rm, Base.find_all_in_cache_path(:BenchmarkTools))
5 Likes