Skip to content

Commit

Permalink
increase workload to 7 197154
Browse files Browse the repository at this point in the history
  • Loading branch information
mickamy committed Jan 3, 2024
1 parent 2ca4f25 commit aa5b4dc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ down:
docker compose down;

bench:
docker exec -i ishocon2-bench-1 sh -c "./benchmark --ip app:443 --workload 6"
docker exec -i ishocon2-bench-1 sh -c "./benchmark --ip app:443 --workload 7"

bench-with-db-init: up
docker exec -i ishocon2-bench-1 sh -c " \
service mysql restart \
&& tar -jxvf /root/admin/ishocon2.dump.tar.bz2 && mysql -u root -pishocon ishocon2 < /root/admin/ishocon2.dump \
&& ./benchmark --ip app:443 --workload 6 \
&& ./benchmark --ip app:443 --workload 7 \
";

change-lang:
Expand Down
15 changes: 15 additions & 0 deletions note.md
Original file line number Diff line number Diff line change
Expand Up @@ -808,3 +808,18 @@ docker exec -i ishocon2-bench-1 sh -c "./benchmark --ip app:443 --workload 6"
2024/01/03 04:08:27 投票者の感心がなくなりました
2024/01/03 04:08:27 {"score": 205112, "success": 144456, "failure": 0}
```

- increase workload to 7 197154

```
❯ make bench
docker exec -i ishocon2-bench-1 sh -c "./benchmark --ip app:443 --workload 7"
2024/01/03 04:09:48 Start GET /initialize
2024/01/03 04:09:48 期日前投票を開始します
2024/01/03 04:09:49 期日前投票が終了しました
2024/01/03 04:09:49 投票を開始します Workload: 7
2024/01/03 04:10:34 投票が終了しました
2024/01/03 04:10:34 投票者が結果を確認しています
2024/01/03 04:10:49 投票者の感心がなくなりました
2024/01/03 04:10:49 {"score": 197154, "success": 138626, "failure": 0}
```

0 comments on commit aa5b4dc

Please sign in to comment.