From ffec547ebc95a52337a85c1ba42a1dffca25c9c9 Mon Sep 17 00:00:00 2001 From: regnat Date: Thu, 3 Jun 2021 16:41:39 +0200 Subject: [PATCH] Add some benchmarks for the actual caching --- benchmark.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/benchmark.sh b/benchmark.sh index 5708df6a7..5011ca435 100755 --- a/benchmark.sh +++ b/benchmark.sh @@ -45,7 +45,9 @@ run_all () { --export-json "$out/result.json" \ --export-markdown "$out/result.md" \ --style basic \ - --prepare '' "bash $0 noCache callBuild" + --prepare '' "bash $0 noCache callBuild" \ + --prepare 'rm -rf ~/.cache/nix/' "bash $0 coldCache callBuild" \ + --prepare '' "bash $0 callBuild" } "$@"