diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-11-12 20:38:29 +0100 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-11-12 20:38:29 +0100 |
commit | 7f4d8ea3d23790b0672ee61e979498429896bb86 (patch) | |
tree | 61a231790204e754c8dd99dd918fc10ed5cf26c6 /exp | |
parent | 09c18241df0f2ac01fda95ce1a1f1d83b14ef491 (diff) | |
download | dna-backup-7f4d8ea3d23790b0672ee61e979498429896bb86.tar.gz dna-backup-7f4d8ea3d23790b0672ee61e979498429896bb86.zip |
ajout d'un bon bloc sur les expérimentations
Diffstat (limited to 'exp')
-rw-r--r-- | exp/Makefile | 9 | ||||
-rw-r--r-- | exp/README.md | 16 |
2 files changed, 22 insertions, 3 deletions
diff --git a/exp/Makefile b/exp/Makefile index 70682f2..81fa9c7 100644 --- a/exp/Makefile +++ b/exp/Makefile @@ -34,15 +34,18 @@ export DNA_PARAMS ?= dna_params export MAX_VERSION ?= 5 export SKIP_CHECK ?= 4 export COMMITS ?= commits.$(RANGE) + +##################### Exp dirs ##################### DNA_4K ?= dna_4k DNA_8K ?= dna_8k NOPACK ?= nopack -export GIT_NOPACK ?= $(abspath $(NOPACK)) # export BORG ?= borg export TARGZ ?= targz export REAL ?= real export DIFFS ?= diffs +##################### Exp dirs ##################### +export GIT_NOPACK ?= $(abspath $(NOPACK)) export REPO_PATH ?= repo export GIT_PATH ?= $(abspath git) GITC := git -C $(REPO_PATH) @@ -178,10 +181,10 @@ clean: mostlyclean rm -f summary.*.csv commits mostlyclean: resultsclean - rm -rf $(DATADIRS) $(DATADIRS:%=%.versions) + rm -rf $(DATADIRS) $(DNADIRS) $(DATADIRS:%=%.versions) $(DNADIRS:%=%.versions) rm -f run $(DATADIRS:%=%.results) $(DNA_PARAMS) commits.* resultsclean: - rm -f $(SIZEFILES) + rm -f $(SIZEFILES) $(DNADIRS:%=%.size) .FORCE: ; diff --git a/exp/README.md b/exp/README.md index f739e46..2cb31bb 100644 --- a/exp/README.md +++ b/exp/README.md @@ -24,3 +24,19 @@ By default: - `SKIP_CHECK` = 4 - `MAX_VERSION` = 5 - `RANGE` = daily + +It is possible to select which system will appear in the results by setting the folder of each one, by default: + +```makefile +NOPACK = nopack +BORG = +TARGZ = targz +REAL = real +DIFFS = diffs +``` + +For instance, the following will run Borg as part of the benchmark and will not make git diffs: + +``` +make DIFFS= BORG=borg +``` |