summaryrefslogtreecommitdiff
path: root/scripts/scalability/test_controller/client/makefile
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-10-31 16:32:45 -0200
committerdrebs <drebs@riseup.net>2017-11-02 09:36:31 -0200
commit31bdbc7268ff118080ecfb67f716fd86d3421032 (patch)
treef5229cd7a868c00a55d7440a88f604a5ec97596f /scripts/scalability/test_controller/client/makefile
parenta7f93cec7999de04614d7adaf91c4348a3313e2e (diff)
[benchmarks] use only one user in scalability tests
Diffstat (limited to 'scripts/scalability/test_controller/client/makefile')
-rw-r--r--scripts/scalability/test_controller/client/makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/scalability/test_controller/client/makefile b/scripts/scalability/test_controller/client/makefile
index e0a719a0..97603cc4 100644
--- a/scripts/scalability/test_controller/client/makefile
+++ b/scripts/scalability/test_controller/client/makefile
@@ -25,8 +25,9 @@
# run `make`.
-URI = https://giraffe.cdev.bitmask.net:7001
-CREATE = 5000
+URI ?= https://giraffe.cdev.bitmask.net:7001
+BLOBS ?= 10000
+SIZE ?= 10
#------------------#
@@ -51,12 +52,10 @@ bench-download: create-users create-blobs
# for quick tests only
bench-upload-quick: create-users delete-blobs
- curl -X POST "$(URI)/blobs?action=delete"
fl-run-bench -c 1 --duration 10 -f test_Blobs.py Blobs.test_upload
# for quick tests only
bench-download-quick: create-users create-blobs
- curl -X POST "$(URI)/blobs?action=create&size=10"
fl-run-bench -c 1 --duration 10 -f test_Blobs.py Blobs.test_download
#---------------------#
@@ -81,10 +80,10 @@ stop-mem:
#--------------#
create-users:
- curl -X POST $(URI)/users?create=$(CREATE)
+ curl -X POST $(URI)/users?create=1
delete-blobs:
curl -X POST "$(URI)/blobs?action=delete"
create-blobs:
- curl -X POST "$(URI)/blobs?action=create&size=10&amount=5000"
+ curl -X POST "$(URI)/blobs?action=create&size=$(SIZE)&amount=$(BLOBS)"