forked from mtusi2026/mtusi2026lab3
bench: трек 1 — базовые серии A/B/C (3 повтора) и анализатор
Замеры образа коммита 3f45eb1 (до улучшения): фиксированный суммарный CPU
API (1x2.0 / 2x1.0 / 4x0.5), рост числа реплик против узкой БД (0.5 CPU),
рост CPU БД при 3 репликах. raw JSON на каждую ступень, results.csv,
лог прогона. analyze.py: медиана и разброс по повторам, потолок и
SLO-ёмкость, узкое место по CPU относительно фактического лимита,
SVG-графики.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4830be414e
commit
8964c9b554
@@ -0,0 +1,27 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 420" font-family="system-ui, sans-serif" font-size="12">
|
||||
<style>.bg{fill:#fcfcfb}.ink{fill:#0b0b0b}.ink2{fill:#52514e}.grid{stroke:#e4e3df}.ref{stroke:#b5b3ac}.s0{stroke:#2a78d6;fill:#2a78d6}.s1{stroke:#eb6834;fill:#eb6834}.s2{stroke:#1baf7a;fill:#1baf7a}.s3{stroke:#eda100;fill:#eda100}@media (prefers-color-scheme: dark){.bg{fill:#1a1a19}.ink{fill:#fff}.ink2{fill:#c3c2b7}.grid{stroke:#34332f}.ref{stroke:#6b6a64}.s0{stroke:#3987e5;fill:#3987e5}.s1{stroke:#d95926;fill:#d95926}.s2{stroke:#199e70;fill:#199e70}.s3{stroke:#c98500;fill:#c98500}}</style>
|
||||
<rect class="bg" width="760" height="420"/>
|
||||
<text class="ink" x="64" y="22" font-size="14" font-weight="600">C-db-growth/baseline</text>
|
||||
<line class="grid" x1="64" x2="550" y1="368.0" y2="368.0" stroke-width="1"/>
|
||||
<text class="ink2" x="56" y="372.0" text-anchor="end">0</text>
|
||||
<line class="grid" x1="64" x2="550" y1="293.5" y2="293.5" stroke-width="1"/>
|
||||
<text class="ink2" x="56" y="297.5" text-anchor="end">50</text>
|
||||
<line class="grid" x1="64" x2="550" y1="218.9" y2="218.9" stroke-width="1"/>
|
||||
<text class="ink2" x="56" y="222.9" text-anchor="end">100</text>
|
||||
<line class="grid" x1="64" x2="550" y1="144.4" y2="144.4" stroke-width="1"/>
|
||||
<text class="ink2" x="56" y="148.4" text-anchor="end">150</text>
|
||||
<line class="grid" x1="64" x2="550" y1="69.8" y2="69.8" stroke-width="1"/>
|
||||
<text class="ink2" x="56" y="73.8" text-anchor="end">200</text>
|
||||
<text class="ink2" x="526.9" y="386" text-anchor="middle">200</text>
|
||||
<text class="ink2" x="307.0" y="408" text-anchor="middle">предложенная нагрузка, запросов/с (open-loop)</text>
|
||||
<text class="ink2" transform="translate(16 204.0) rotate(-90)" text-anchor="middle">успешных запросов/с (201)</text>
|
||||
<line class="ref" x1="64.0" y1="368.0" x2="526.9" y2="69.8" stroke-width="1"/>
|
||||
<text class="ink2" x="522.9" y="63.8" text-anchor="end">обслужено = предложено</text>
|
||||
<polyline class="s0" points="526.9,73.7" fill="none" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>
|
||||
<line class="s0" x1="526.9" x2="526.9" y1="73.7" y2="73.7" stroke-width="2" opacity="0.5"/>
|
||||
<circle class="s0" cx="526.9" cy="73.7" r="4" stroke="#fcfcfb" stroke-width="2"><title>3 × 1 CPU API, БД 1 CPU: предложено 200/с, успешно 197.4/с (повторы 197.4–197.4), p95 183 мс</title></circle>
|
||||
<text class="ink2" x="534.9" y="77.7">197</text>
|
||||
<line class="s0" x1="584" x2="602" y1="50" y2="50" stroke-width="2"/>
|
||||
<text class="ink" x="608" y="54">3 × 1 CPU API, БД 1</text>
|
||||
<text class="ink" x="608" y="68">CPU</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
Reference in New Issue
Block a user