Files
mtusi2026lab3/evidence/track1/A-fixed-total/baseline/throughput.svg
T
Alexey BodanyukandClaude Opus 5.5 b9f1ad58f9 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>
2026-10-19 17:33:46 +03:00

83 lines
9.5 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<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">A-fixed-total/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="325.4" y2="325.4" stroke-width="1"/>
<text class="ink2" x="56" y="329.4" text-anchor="end">50</text>
<line class="grid" x1="64" x2="550" y1="282.8" y2="282.8" stroke-width="1"/>
<text class="ink2" x="56" y="286.8" text-anchor="end">100</text>
<line class="grid" x1="64" x2="550" y1="240.2" y2="240.2" stroke-width="1"/>
<text class="ink2" x="56" y="244.2" text-anchor="end">150</text>
<line class="grid" x1="64" x2="550" y1="197.6" y2="197.6" stroke-width="1"/>
<text class="ink2" x="56" y="201.6" text-anchor="end">200</text>
<line class="grid" x1="64" x2="550" y1="155.0" y2="155.0" stroke-width="1"/>
<text class="ink2" x="56" y="159.0" text-anchor="end">250</text>
<line class="grid" x1="64" x2="550" y1="112.4" y2="112.4" stroke-width="1"/>
<text class="ink2" x="56" y="116.4" text-anchor="end">300</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">350</text>
<text class="ink2" x="196.2" y="386" text-anchor="middle">100</text>
<text class="ink2" x="262.4" y="386" text-anchor="middle">150</text>
<text class="ink2" x="328.5" y="386" text-anchor="middle">200</text>
<text class="ink2" x="394.6" y="386" text-anchor="middle">250</text>
<text class="ink2" x="460.7" y="386" text-anchor="middle">300</text>
<text class="ink2" x="526.9" y="386" text-anchor="middle">350</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="272.9" y="221.6" text-anchor="end">обслужено = предложено</text>
<polyline class="l0" points="196.2,282.8 262.4,240.4 328.5,198.8 394.6,185.8 460.7,193.9 526.9,198.6" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>
<line class="l0" x1="196.2" x2="196.2" y1="282.8" y2="282.8" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="196.2" cy="282.8" r="4" stroke-width="2"><title>1 × 2 CPU API, БД 2 CPU: предложено 100/с, успешно 100/с (повторы 100–100), p95 16 мс</title></circle>
<line class="l0" x1="262.4" x2="262.4" y1="240.5" y2="240.4" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="262.4" cy="240.4" r="4" stroke-width="2"><title>1 × 2 CPU API, БД 2 CPU: предложено 150/с, успешно 149.8/с (повторы 149.6–149.8), p95 66 мс</title></circle>
<line class="l0" x1="328.5" x2="328.5" y1="198.9" y2="198.7" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="328.5" cy="198.8" r="4" stroke-width="2"><title>1 × 2 CPU API, БД 2 CPU: предложено 200/с, успешно 198.6/с (повторы 198.5–198.7), p95 155 мс</title></circle>
<line class="l0" x1="394.6" x2="394.6" y1="189.9" y2="180.7" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="394.6" cy="185.8" r="4" stroke-width="2"><title>1 × 2 CPU API, БД 2 CPU: предложено 250/с, успешно 213.9/с (повторы 209–219.8), p95 2484 мс</title></circle>
<line class="l0" x1="460.7" x2="460.7" y1="197.4" y2="189.0" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="460.7" cy="193.9" r="4" stroke-width="2"><title>1 × 2 CPU API, БД 2 CPU: предложено 300/с, успешно 204.3/с (повторы 200.3–210.1), p95 3124 мс</title></circle>
<line class="l0" x1="526.9" x2="526.9" y1="201.0" y2="196.7" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="526.9" cy="198.6" r="4" stroke-width="2"><title>1 × 2 CPU API, БД 2 CPU: предложено 350/с, успешно 198.8/с (повторы 196–201.1), p95 3324 мс</title></circle>
<text class="ink2" x="394.6" y="175.8" text-anchor="middle">max 214</text>
<line class="l0" x1="584" x2="602" y1="50" y2="50" stroke-width="2"/>
<text class="ink" x="608" y="54">1 × 2 CPU API, БД 2</text>
<text class="ink" x="608" y="68">CPU</text>
<polyline class="l1" points="196.2,282.8 262.4,240.5 328.5,198.9 394.6,159.2 460.7,124.4 526.9,121.9" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>
<line class="l1" x1="196.2" x2="196.2" y1="282.8" y2="282.8" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="196.2" cy="282.8" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU: предложено 100/с, успешно 100/с (повторы 100–100), p95 28 мс</title></circle>
<line class="l1" x1="262.4" x2="262.4" y1="240.9" y2="240.1" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="262.4" cy="240.5" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU: предложено 150/с, успешно 149.7/с (повторы 149.2–150.1), p95 84 мс</title></circle>
<line class="l1" x1="328.5" x2="328.5" y1="199.7" y2="198.9" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="328.5" cy="198.9" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU: предложено 200/с, успешно 198.5/с (повторы 197.6–198.5), p95 199 мс</title></circle>
<line class="l1" x1="394.6" x2="394.6" y1="161.5" y2="158.3" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="394.6" cy="159.2" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU: предложено 250/с, успешно 245.1/с (повторы 242.4–246.1), p95 448 мс</title></circle>
<line class="l1" x1="460.7" x2="460.7" y1="128.3" y2="120.4" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="460.7" cy="124.4" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU: предложено 300/с, успешно 285.9/с (повторы 281.4–290.6), p95 1123 мс</title></circle>
<line class="l1" x1="526.9" x2="526.9" y1="137.0" y2="120.4" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="526.9" cy="121.9" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU: предложено 350/с, успешно 288.9/с (повторы 271.1–290.6), p95 2449 мс</title></circle>
<text class="ink2" x="526.9" y="111.9" text-anchor="middle">max 289</text>
<line class="l1" x1="584" x2="602" y1="90" y2="90" stroke-width="2"/>
<text class="ink" x="608" y="94">2 × 1 CPU API, БД 2</text>
<text class="ink" x="608" y="108">CPU</text>
<polyline class="l2" points="196.2,282.8 262.4,240.5 328.5,200.4 394.6,164.6 460.7,174.4 526.9,188.1" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>
<line class="l2" x1="196.2" x2="196.2" y1="282.8" y2="282.8" stroke-width="2" opacity="0.5"/>
<circle class="d2" cx="196.2" cy="282.8" r="4" stroke-width="2"><title>4 × 0.5 CPU API, БД 2 CPU: предложено 100/с, успешно 100/с (повторы 100–100), p95 79 мс</title></circle>
<line class="l2" x1="262.4" x2="262.4" y1="242.6" y2="240.5" stroke-width="2" opacity="0.5"/>
<circle class="d2" cx="262.4" cy="240.5" r="4" stroke-width="2"><title>4 × 0.5 CPU API, БД 2 CPU: предложено 150/с, успешно 149.6/с (повторы 147.2–149.6), p95 229 мс</title></circle>
<line class="l2" x1="328.5" x2="328.5" y1="203.1" y2="200.3" stroke-width="2" opacity="0.5"/>
<circle class="d2" cx="328.5" cy="200.4" r="4" stroke-width="2"><title>4 × 0.5 CPU API, БД 2 CPU: предложено 200/с, успешно 196.7/с (повторы 193.6–196.8), p95 506 мс</title></circle>
<line class="l2" x1="394.6" x2="394.6" y1="166.3" y2="162.4" stroke-width="2" opacity="0.5"/>
<circle class="d2" cx="394.6" cy="164.6" r="4" stroke-width="2"><title>4 × 0.5 CPU API, БД 2 CPU: предложено 250/с, успешно 238.7/с (повторы 236.8–241.3), p95 1132 мс</title></circle>
<line class="l2" x1="460.7" x2="460.7" y1="176.5" y2="170.0" stroke-width="2" opacity="0.5"/>
<circle class="d2" cx="460.7" cy="174.4" r="4" stroke-width="2"><title>4 × 0.5 CPU API, БД 2 CPU: предложено 300/с, успешно 227.2/с (повторы 224.8–232.4), p95 3385 мс</title></circle>
<line class="l2" x1="526.9" x2="526.9" y1="193.2" y2="184.5" stroke-width="2" opacity="0.5"/>
<circle class="d2" cx="526.9" cy="188.1" r="4" stroke-width="2"><title>4 × 0.5 CPU API, БД 2 CPU: предложено 350/с, успешно 211.2/с (повторы 205.2–215.4), p95 4212 мс</title></circle>
<text class="ink2" x="394.6" y="154.6" text-anchor="middle">max 239</text>
<line class="l2" x1="584" x2="602" y1="130" y2="130" stroke-width="2"/>
<text class="ink" x="608" y="134">4 × 0.5 CPU API, БД 2</text>
<text class="ink" x="608" y="148">CPU</text>
</svg>