Skip to content

Commit b9300c6

Browse files
committed
wagtail: add locust setup and start scripts
1 parent fbd792e commit b9300c6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Benchmark/wagtail/locust_setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ pip install locust
55

66
# install other packages
77
pip install lorem
8+
9+
# run locust
10+
./locust_start.sh

Benchmark/wagtail/locust_start.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#! /bin/bash
2+
3+
locust -H http://127.0.0.1:8000 --spawn-rate 100 --users 11000 --run-time 3m --processes -1

0 commit comments

Comments
 (0)