From 93250414c6ef77b69a0aca008ef28c778c48afe4 Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 13 Sep 2017 12:09:41 -0300 Subject: [test] add graph for sqlite blobs backend benchmark test --- scripts/benchmark/sqlite-blobs-backend/makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 scripts/benchmark/sqlite-blobs-backend/makefile (limited to 'scripts/benchmark/sqlite-blobs-backend/makefile') diff --git a/scripts/benchmark/sqlite-blobs-backend/makefile b/scripts/benchmark/sqlite-blobs-backend/makefile new file mode 100644 index 00000000..f8187e9a --- /dev/null +++ b/scripts/benchmark/sqlite-blobs-backend/makefile @@ -0,0 +1,14 @@ +VIRTUALENV_NAME = plot +VIRTUALENV_ROOT = ~/.virtualenvs/$(VIRTUALENV_NAME) + +all: graph + +env: + if [ ! -d $(VIRTUALENV_ROOT) ]; then \ + mkdir -p $$(dirname $(VIRTUALENV_ROOT)); \ + virtualenv $(VIRTUALENV_ROOT); \ + $(VIRTUALENV_ROOT)/bin/pip install requirements.pip; \ + fi + +graph: env + $(VIRTUALENV_ROOT)/bin/python ./gen-graph.py -- cgit v1.2.3