-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (24 loc) · 1014 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
benchmark-scenarios:
k6 run ./benchmarks/scenarios.js
benchmark-connection:
k6 run --vus 128 --duration 5s ./benchmarks/connection.js > ./results/connection.txt
benchmark-plain-async:
k6 run --vus 128 --duration 5s ./benchmarks/plain-async.js > ./results/plain-async.txt
benchmark-plain-sync:
k6 run --vus 128 --duration 5s ./benchmarks/plain-sync.js > ./results/plain-sync.txt
benchmark-json-async:
k6 run --vus 128 --duration 5s ./benchmarks/json-async.js > ./results/json-async.txt
benchmark-json-sync:
k6 run --vus 128 --duration 5s ./benchmarks/json-sync.js > ./results/json-sync.txt
benchmark-binary-async:
k6 run --vus 128 --duration 5s ./benchmarks/binary-async.js > ./results/binary-async.txt
benchmark-binary-sync:
k6 run --vus 128 --duration 5s ./benchmarks/binary-sync.js > ./results/binary-sync.txt
benchmark-all: \
benchmark-connection \
benchmark-plain-async \
benchmark-plain-sync \
benchmark-json-async \
benchmark-json-sync \
benchmark-binary-async \
benchmark-binary-sync