Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ scripts/stress.sh springboot3/target/springboot3.jar
For each test, you should see output like

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

Expand Down
2 changes: 1 addition & 1 deletion scripts/stress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ set -euo pipefail

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