forked from mtusi2026/mtusi2026lab3
bench: трек 1 — профили py-spy до/после, серия E (потолок нового пути), графики
Профиль при 240 req/s: доля psycopg 52.7 % -> 19.0 %, активных сэмплов 3889 -> 2026. Серия E: function в 2x1.0 CPU — потолок 552 (530–552) успешных/с, упор в CPU API; в 3x1.0 / БД 0.5 — ~420–460, упор в БД. analyze.py: линии без заливки, цвет = конфигурация, пунктир = multi, подпись — максимум серии. REPORT: раздел трека 1 и ограничения. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
479cd78f7f
commit
b9f1ad58f9
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"started": "2026-10-19T14:11:30+00:00",
|
||||
"measured_commit": "4830be4",
|
||||
"image": "mtusi-messenger:bench-4830be4",
|
||||
"bench_tooling_dirty": true,
|
||||
"host": {
|
||||
"os": "Windows 10",
|
||||
"docker": "29.8.0 8 CPU 15686365184 B 6.18.54.1-microsoft-standard-WSL2"
|
||||
},
|
||||
"cpusets": "k6 0-1, lb+valkey 2, postgres 3-4, api 5-7 (bench/track1/compose.bench.yaml)",
|
||||
"workload": "k6 constant-arrival-rate POST message, new Idempotency-Key, 64 chats, warmup 10s + measure 20s per step, fresh stand per config x repeat",
|
||||
"rates": [
|
||||
450,
|
||||
550,
|
||||
650,
|
||||
750,
|
||||
850
|
||||
],
|
||||
"repeats": 3,
|
||||
"configs": [
|
||||
{
|
||||
"replicas": 2,
|
||||
"api_cpus": 1.0,
|
||||
"api_memory": "384m",
|
||||
"pg_cpus": 2.0,
|
||||
"pool": 10,
|
||||
"env": {
|
||||
"MESSAGE_WRITE_PATH": "function"
|
||||
}
|
||||
},
|
||||
{
|
||||
"replicas": 3,
|
||||
"api_cpus": 1.0,
|
||||
"api_memory": "384m",
|
||||
"pg_cpus": 0.5,
|
||||
"pool": 10,
|
||||
"env": {
|
||||
"MESSAGE_WRITE_PATH": "function"
|
||||
}
|
||||
}
|
||||
],
|
||||
"args": [
|
||||
"--git-ref",
|
||||
"4830be4",
|
||||
"--repeats",
|
||||
"3",
|
||||
"--series",
|
||||
"E-improved-ceiling",
|
||||
"--label",
|
||||
"4830be4",
|
||||
"--rates",
|
||||
"450,550,650,750,850",
|
||||
"--config",
|
||||
"replicas=2,MESSAGE_WRITE_PATH=function",
|
||||
"--config",
|
||||
"replicas=3,pg_cpus=0.5,MESSAGE_WRITE_PATH=function"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user