forked from mtusi2026/mtusi2026lab3
Профиль при 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>
55 lines
6.5 KiB
XML
55 lines
6.5 KiB
XML
<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}.l0{stroke:#2a78d6;fill:none}.d0{fill:#2a78d6;stroke:#fcfcfb}.l1{stroke:#eb6834;fill:none}.d1{fill:#eb6834;stroke:#fcfcfb}.l2{stroke:#1baf7a;fill:none}.d2{fill:#1baf7a;stroke:#fcfcfb}.l3{stroke:#eda100;fill:none}.d3{fill:#eda100;stroke:#fcfcfb}@media (prefers-color-scheme: dark){.bg{fill:#1a1a19}.ink{fill:#fff}.ink2{fill:#c3c2b7}.grid{stroke:#34332f}.ref{stroke:#6b6a64}.l0{stroke:#3987e5}.d0{fill:#3987e5;stroke:#1a1a19}.l1{stroke:#d95926}.d1{fill:#d95926;stroke:#1a1a19}.l2{stroke:#199e70}.d2{fill:#199e70;stroke:#1a1a19}.l3{stroke:#c98500}.d3{fill:#c98500;stroke:#1a1a19}}</style>
|
||
<rect class="bg" width="760" height="420"/>
|
||
<text class="ink" x="64" y="22" font-size="14" font-weight="600">E-improved-ceiling/4830be4</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="297.8" y2="297.8" stroke-width="1"/>
|
||
<text class="ink2" x="56" y="301.8" text-anchor="end">200</text>
|
||
<line class="grid" x1="64" x2="550" y1="227.7" y2="227.7" stroke-width="1"/>
|
||
<text class="ink2" x="56" y="231.7" text-anchor="end">400</text>
|
||
<line class="grid" x1="64" x2="550" y1="157.5" y2="157.5" stroke-width="1"/>
|
||
<text class="ink2" x="56" y="161.5" text-anchor="end">600</text>
|
||
<line class="grid" x1="64" x2="550" y1="87.4" y2="87.4" stroke-width="1"/>
|
||
<text class="ink2" x="56" y="91.4" text-anchor="end">800</text>
|
||
<text class="ink2" x="309.0" y="386" text-anchor="middle">450</text>
|
||
<text class="ink2" x="363.5" y="386" text-anchor="middle">550</text>
|
||
<text class="ink2" x="417.9" y="386" text-anchor="middle">650</text>
|
||
<text class="ink2" x="472.4" y="386" text-anchor="middle">750</text>
|
||
<text class="ink2" x="526.9" y="386" text-anchor="middle">850</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="357.5" y="167.1" text-anchor="end">обслужено = предложено</text>
|
||
<polyline class="l0" points="309.0,212.5 363.5,183.8 417.9,175.8 472.4,182.0 526.9,182.2" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>
|
||
<line class="l0" x1="309.0" x2="309.0" y1="212.8" y2="211.9" stroke-width="2" opacity="0.5"/>
|
||
<circle class="d0" cx="309.0" cy="212.5" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 450/с, успешно 443.2/с (повторы 442.5–445.1), p95 332 мс</title></circle>
|
||
<line class="l0" x1="363.5" x2="363.5" y1="184.2" y2="182.4" stroke-width="2" opacity="0.5"/>
|
||
<circle class="d0" cx="363.5" cy="183.8" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 550/с, успешно 525.1/с (повторы 524–529), p95 812 мс</title></circle>
|
||
<line class="l0" x1="417.9" x2="417.9" y1="212.3" y2="174.2" stroke-width="2" opacity="0.5"/>
|
||
<circle class="d0" cx="417.9" cy="175.8" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 650/с, успешно 548/с (повторы 443.8–552.4), p95 1453 мс</title></circle>
|
||
<line class="l0" x1="472.4" x2="472.4" y1="208.1" y2="174.4" stroke-width="2" opacity="0.5"/>
|
||
<circle class="d0" cx="472.4" cy="182.0" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 750/с, успешно 530.2/с (повторы 455.8–552), p95 1574 мс</title></circle>
|
||
<line class="l0" x1="526.9" x2="526.9" y1="187.4" y2="174.2" stroke-width="2" opacity="0.5"/>
|
||
<circle class="d0" cx="526.9" cy="182.2" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 850/с, успешно 529.6/с (повторы 514.8–552.5), p95 1655 мс</title></circle>
|
||
<text class="ink2" x="417.9" y="165.8" text-anchor="middle">max 548</text>
|
||
<line class="l0" x1="584" x2="602" y1="50" y2="50" stroke-width="2"/>
|
||
<text class="ink" x="608" y="54">2 × 1 CPU API, БД 2</text>
|
||
<text class="ink" x="608" y="68">CPU, запись function</text>
|
||
<polyline class="l1" points="309.0,237.0 363.5,223.5 417.9,229.5 472.4,250.3 526.9,246.9" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>
|
||
<line class="l1" x1="309.0" x2="309.0" y1="238.6" y2="213.8" stroke-width="2" opacity="0.5"/>
|
||
<circle class="d1" cx="309.0" cy="237.0" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 450/с, успешно 373.4/с (повторы 368.9–439.5), p95 1811 мс</title></circle>
|
||
<line class="l1" x1="363.5" x2="363.5" y1="245.4" y2="219.8" stroke-width="2" opacity="0.5"/>
|
||
<circle class="d1" cx="363.5" cy="223.5" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 550/с, успешно 412/с (повторы 349.6–422.6), p95 2004 мс</title></circle>
|
||
<line class="l1" x1="417.9" x2="417.9" y1="235.9" y2="220.3" stroke-width="2" opacity="0.5"/>
|
||
<circle class="d1" cx="417.9" cy="229.5" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 650/с, успешно 394.9/с (повторы 376.6–420.9), p95 1782 мс</title></circle>
|
||
<line class="l1" x1="472.4" x2="472.4" y1="256.7" y2="233.5" stroke-width="2" opacity="0.5"/>
|
||
<circle class="d1" cx="472.4" cy="250.3" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 750/с, успешно 335.6/с (повторы 317.2–383.3), p95 2149 мс</title></circle>
|
||
<line class="l1" x1="526.9" x2="526.9" y1="247.0" y2="238.1" stroke-width="2" opacity="0.5"/>
|
||
<circle class="d1" cx="526.9" cy="246.9" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 850/с, успешно 345.3/с (повторы 344.9–370.4), p95 1671 мс</title></circle>
|
||
<text class="ink2" x="363.5" y="213.5" text-anchor="middle">max 412</text>
|
||
<line class="l1" x1="584" x2="602" y1="90" y2="90" stroke-width="2"/>
|
||
<text class="ink" x="608" y="94">3 × 1 CPU API, БД 0.5</text>
|
||
<text class="ink" x="608" y="108">CPU, запись function</text>
|
||
</svg>
|