Skip to content

Commit

Permalink
Remove tune from tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Gbury committed May 28, 2021
1 parent dbb621c commit 9a6083f
Show file tree
Hide file tree
Showing 16 changed files with 3 additions and 801 deletions.
27 changes: 3 additions & 24 deletions Makefile
@@ -1,14 +1,8 @@
# copyright (c) 2014, guillaume bury

COMP=dune
FLAGS=
BINDIR=_build/install/default/bin

# Optional arguments for the tune executions
ifeq ($(J),)
J := 1
endif

all: build

watch:
Expand Down Expand Up @@ -37,24 +31,9 @@ coverage:
@xdg-open _coverage/index.html
bisect-ppx-report summary

tune.config: build
dune exec -- tools/tune/tune.exe create -o tune.config \
--minor-heap-size=200_000,200_000,1_000_000 \
--major-heap-increment=15,15,105 \
--space-overhead=80,20,200 \
--max-overhead=500,500,1000 \
--allocation-policy=0,1,2 \
-- _build/install/default/bin/dolmen --gc-env $(FILE) -s 2G -t 5m

tune.res: build tune.config
dune exec -- tools/tune/tune.exe run -i tune.config -o tune.res -j $(J)

tune-graphs: build tune.res
dune exec -- tools/tune/tune.exe graph -i tune.res

clean:
find . -name '*.coverage' | xargs rm -f
rm -rf _coverage tune.*
$(COMP) clean
rm -rf _coverage
dune clean

.PHONY: all watch dune doc gentests test promote coverage tune-graphs clean
.PHONY: all watch dune doc gentests test promote coverage clean
12 changes: 0 additions & 12 deletions tools/tune/config.ml

This file was deleted.

12 changes: 0 additions & 12 deletions tools/tune/dune

This file was deleted.

163 changes: 0 additions & 163 deletions tools/tune/exec.ml

This file was deleted.

72 changes: 0 additions & 72 deletions tools/tune/exec.mli

This file was deleted.

14 changes: 0 additions & 14 deletions tools/tune/graph.ml

This file was deleted.

0 comments on commit 9a6083f

Please sign in to comment.