Skip to content

Commit 6222dda

Browse files
committed
Do not fix load in a test intended to measure throughput
1 parent b678bac commit 6222dda

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ scripts/stress.sh springboot3/target/springboot3.jar
8181
For each test, you should see output like
8282

8383
```shell
84-
6001 requests in 30.002s, 4.84MB read
85-
Requests/sec: 200.02
86-
Transfer/sec: 165.29kB
84+
Thread Stats Avg Stdev Max +/- Stdev
85+
Latency 9.58ms 6.03ms 94.90ms 85.57%
86+
Req/Sec 9936.90 2222.61 10593.00 95.24
8787
```
8888
### Acceptable: Run on a single machine, with solid automation and detailed output
8989

scripts/stress.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ set -euo pipefail
99

1010
${thisdir}/infra.sh -s
1111
java -XX:ActiveProcessorCount=8 -Xms512m -Xmx512m -jar $1 &
12-
jbang wrk2@hyperfoil -t2 -c100 -d30s -R 200 --latency http://localhost:8080/fruits
12+
jbang wrk@hyperfoil -t2 -c100 -d20s --timeout 1s http://localhost:8080/fruits
1313
scripts/infra.sh -d
1414
kill $(lsof -t -i:8080) &>/dev/null

0 commit comments

Comments
 (0)