From 7f4d8ea3d23790b0672ee61e979498429896bb86 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Fri, 12 Nov 2021 20:38:29 +0100 Subject: =?UTF-8?q?ajout=20d'un=20bon=20bloc=20sur=20les=20exp=C3=A9riment?= =?UTF-8?q?ations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exp/Makefile | 9 ++++++--- exp/README.md | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) (limited to 'exp') 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 +``` -- cgit v1.2.3