Expand description
On-disk cache for benchmark relation files.
Relation files referenced by a BenchmarkDefinition are downloaded lazily
into the platform cache directory under
<cache_dir>/kermit/benchmarks/<benchmark>/<relation>.parquet. On Linux
this resolves to ~/.cache/kermit/benchmarks/….
ensure_cached is the entry point; clean_benchmark and clean_all
remove cached files.
Functions§
- base_
cache_ dir - Returns the base cache directory for kermit benchmarks
(
$XDG_CACHE_HOME/kermit/benchmarkson Linux). - cache_
dir - Returns the cache directory for a specific benchmark.
- clean_
all - Removes the entire kermit benchmark cache.
- clean_
benchmark - Removes the cache directory for a specific benchmark.
- ensure_
cached - Ensures all relations for a benchmark are downloaded and cached.
- is_
cached - Returns true if all relation files for the benchmark are cached.
- relation_
cache_ path - Returns the expected path for a cached relation file.