summaryrefslogtreecommitdiff
path: root/scripts/benchmark/sqlite-blobs-backend/makefile
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-09-13 12:09:41 -0300
committerdrebs <drebs@riseup.net>2017-09-14 12:14:45 -0300
commit93250414c6ef77b69a0aca008ef28c778c48afe4 (patch)
tree1a394394ef1b5c0fae392474e95bc529708cf5eb /scripts/benchmark/sqlite-blobs-backend/makefile
parentdd7b2e414adf2c84873debcd7b7d526859036bc2 (diff)
[test] add graph for sqlite blobs backend benchmark test
Diffstat (limited to 'scripts/benchmark/sqlite-blobs-backend/makefile')
-rw-r--r--scripts/benchmark/sqlite-blobs-backend/makefile14
1 files changed, 14 insertions, 0 deletions
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