summaryrefslogtreecommitdiff
path: root/scripts/benchmark/legacy-vs-blobs/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/benchmark/legacy-vs-blobs/makefile')
-rw-r--r--scripts/benchmark/legacy-vs-blobs/makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/benchmark/legacy-vs-blobs/makefile b/scripts/benchmark/legacy-vs-blobs/makefile
new file mode 100644
index 00000000..649e181c
--- /dev/null
+++ b/scripts/benchmark/legacy-vs-blobs/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 ./legacy-vs-blobs.py