Files
mtusi2026lab3/evidence/track1/D-improvement/4830be4/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

114 lines
15 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">D-improvement/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="308.4" y2="308.4" stroke-width="1"/>
<text class="ink2" x="56" y="312.4" text-anchor="end">100</text>
<line class="grid" x1="64" x2="550" y1="248.7" y2="248.7" stroke-width="1"/>
<text class="ink2" x="56" y="252.7" text-anchor="end">200</text>
<line class="grid" x1="64" x2="550" y1="189.1" y2="189.1" stroke-width="1"/>
<text class="ink2" x="56" y="193.1" text-anchor="end">300</text>
<line class="grid" x1="64" x2="550" y1="129.5" y2="129.5" stroke-width="1"/>
<text class="ink2" x="56" y="133.5" text-anchor="end">400</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">500</text>
<text class="ink2" x="202.9" y="386" text-anchor="middle">150</text>
<text class="ink2" x="249.1" y="386" text-anchor="middle">200</text>
<text class="ink2" x="295.4" y="386" text-anchor="middle">250</text>
<text class="ink2" x="341.7" y="386" text-anchor="middle">300</text>
<text class="ink2" x="388.0" y="386" text-anchor="middle">350</text>
<text class="ink2" x="434.3" y="386" text-anchor="middle">400</text>
<text class="ink2" x="480.6" y="386" text-anchor="middle">450</text>
<text class="ink2" x="526.9" y="386" text-anchor="middle">500</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="277.9" y="218.4" text-anchor="end">обслужено = предложено</text>
<polyline class="l0" points="202.9,278.5 249.1,250.3 295.4,222.0 341.7,201.6 388.0,199.5 434.3,202.1 480.6,203.8 526.9,201.7" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke-dasharray="6 4"/>
<line class="l0" x1="202.9" x2="202.9" y1="278.6" y2="278.5" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="202.9" cy="278.5" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись multi: предложено 150/с, успешно 150/с (повторы 149.9–150), p95 70 мс</title></circle>
<line class="l0" x1="249.1" x2="249.1" y1="250.3" y2="249.7" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="249.1" cy="250.3" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись multi: предложено 200/с, успешно 197.4/с (повторы 197.4–198.4), p95 219 мс</title></circle>
<line class="l0" x1="295.4" x2="295.4" y1="224.2" y2="221.8" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="295.4" cy="222.0" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись multi: предложено 250/с, успешно 244.8/с (повторы 241.2–245.2), p95 526 мс</title></circle>
<line class="l0" x1="341.7" x2="341.7" y1="202.5" y2="197.6" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="341.7" cy="201.6" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись multi: предложено 300/с, успешно 279/с (повторы 277.5–285.7), p95 1501 мс</title></circle>
<line class="l0" x1="388.0" x2="388.0" y1="200.5" y2="199.5" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="388.0" cy="199.5" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись multi: предложено 350/с, успешно 282.6/с (повторы 280.8–282.6), p95 2519 мс</title></circle>
<line class="l0" x1="434.3" x2="434.3" y1="203.9" y2="200.1" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="434.3" cy="202.1" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись multi: предложено 400/с, успешно 278.2/с (повторы 275.2–281.5), p95 2545 мс</title></circle>
<line class="l0" x1="480.6" x2="480.6" y1="207.8" y2="203.2" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="480.6" cy="203.8" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись multi: предложено 450/с, успешно 275.4/с (повторы 268.7–276.3), p95 2633 мс</title></circle>
<line class="l0" x1="526.9" x2="526.9" y1="204.1" y2="200.5" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="526.9" cy="201.7" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись multi: предложено 500/с, успешно 278.9/с (повторы 274.9–280.9), p95 2551 мс</title></circle>
<text class="ink2" x="388.0" y="189.5" text-anchor="middle">max 283</text>
<line class="l0" x1="584" x2="602" y1="50" y2="50" stroke-width="2" stroke-dasharray="6 4"/>
<text class="ink" x="608" y="54">2 × 1 CPU API, БД 2</text>
<text class="ink" x="608" y="68">CPU, запись multi</text>
<polyline class="l0" points="202.9,278.5 249.1,248.7 295.4,219.2 341.7,189.4 388.0,161.6 434.3,130.7 480.6,103.0 526.9,76.4" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>
<line class="l0" x1="202.9" x2="202.9" y1="278.5" y2="278.5" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="202.9" cy="278.5" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 150/с, успешно 150.1/с (повторы 150–150.1), p95 13 мс</title></circle>
<line class="l0" x1="249.1" x2="249.1" y1="248.8" y2="248.7" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="249.1" cy="248.7" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 200/с, успешно 200.1/с (повторы 199.8–200.1), p95 23 мс</title></circle>
<line class="l0" x1="295.4" x2="295.4" y1="219.3" y2="218.9" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="295.4" cy="219.2" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 250/с, успешно 249.5/с (повторы 249.3–250), p95 48 мс</title></circle>
<line class="l0" x1="341.7" x2="341.7" y1="189.5" y2="189.2" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="341.7" cy="189.4" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 300/с, успешно 299.4/с (повторы 299.3–299.8), p95 63 мс</title></circle>
<line class="l0" x1="388.0" x2="388.0" y1="162.9" y2="159.8" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="388.0" cy="161.6" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 350/с, успешно 346.1/с (повторы 343.9–349.1), p95 172 мс</title></circle>
<line class="l0" x1="434.3" x2="434.3" y1="131.8" y2="130.4" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="434.3" cy="130.7" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 400/с, успешно 397.9/с (повторы 396.1–398.4), p95 168 мс</title></circle>
<line class="l0" x1="480.6" x2="480.6" y1="103.9" y2="102.5" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="480.6" cy="103.0" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 450/с, успешно 444.4/с (повторы 442.9–445.2), p95 323 мс</title></circle>
<line class="l0" x1="526.9" x2="526.9" y1="76.9" y2="75.1" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="526.9" cy="76.4" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 500/с, успешно 488.9/с (повторы 488.1–491.1), p95 563 мс</title></circle>
<text class="ink2" x="526.9" y="66.4" text-anchor="middle">max 489</text>
<line class="l0" 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, запись function</text>
<polyline class="l1" points="202.9,279.0 249.1,252.5 295.4,248.8 341.7,259.5 388.0,253.4 434.3,248.8 480.6,258.7 526.9,271.9" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke-dasharray="6 4"/>
<line class="l1" x1="202.9" x2="202.9" y1="279.1" y2="278.8" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="202.9" cy="279.0" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись multi: предложено 150/с, успешно 149.2/с (повторы 149–149.6), p95 169 мс</title></circle>
<line class="l1" x1="249.1" x2="249.1" y1="254.6" y2="252.4" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="249.1" cy="252.5" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись multi: предложено 200/с, успешно 193.7/с (повторы 190.2–193.8), p95 706 мс</title></circle>
<line class="l1" x1="295.4" x2="295.4" y1="253.0" y2="247.7" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="295.4" cy="248.8" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись multi: предложено 250/с, успешно 199.8/с (повторы 192.8–201.7), p95 2945 мс</title></circle>
<line class="l1" x1="341.7" x2="341.7" y1="268.0" y2="258.7" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="341.7" cy="259.5" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись multi: предложено 300/с, успешно 181.9/с (повторы 167.6–183.3), p95 3267 мс</title></circle>
<line class="l1" x1="388.0" x2="388.0" y1="257.5" y2="248.9" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="388.0" cy="253.4" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись multi: предложено 350/с, успешно 192.1/с (повторы 185.3–199.7), p95 3402 мс</title></circle>
<line class="l1" x1="434.3" x2="434.3" y1="260.2" y2="246.8" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="434.3" cy="248.8" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись multi: предложено 400/с, успешно 199.8/с (повторы 180.7–203.3), p95 3290 мс</title></circle>
<line class="l1" x1="480.6" x2="480.6" y1="260.8" y2="258.6" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="480.6" cy="258.7" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись multi: предложено 450/с, успешно 183.2/с (повторы 179.8–183.4), p95 4598 мс</title></circle>
<line class="l1" x1="526.9" x2="526.9" y1="272.9" y2="255.2" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="526.9" cy="271.9" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись multi: предложено 500/с, успешно 161.2/с (повторы 159.5–189.2), p95 3790 мс</title></circle>
<text class="ink2" x="295.4" y="238.8" text-anchor="middle">max 200</text>
<line class="l1" x1="584" x2="602" y1="130" y2="130" stroke-width="2" stroke-dasharray="6 4"/>
<text class="ink" x="608" y="134">3 × 1 CPU API, БД 0.5</text>
<text class="ink" x="608" y="148">CPU, запись multi</text>
<polyline class="l1" points="202.9,278.5 249.1,248.7 295.4,219.1 341.7,190.0 388.0,160.4 434.3,134.0 480.6,102.9 526.9,98.2" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>
<line class="l1" x1="202.9" x2="202.9" y1="278.5" y2="278.5" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="202.9" cy="278.5" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 150/с, успешно 150.1/с (повторы 150.1–150.1), p95 24 мс</title></circle>
<line class="l1" x1="249.1" x2="249.1" y1="249.0" y2="248.7" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="249.1" cy="248.7" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 200/с, успешно 200/с (повторы 199.6–200.1), p95 34 мс</title></circle>
<line class="l1" x1="295.4" x2="295.4" y1="219.3" y2="218.9" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="295.4" cy="219.1" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 250/с, успешно 249.7/с (повторы 249.3–250), p95 56 мс</title></circle>
<line class="l1" x1="341.7" x2="341.7" y1="190.0" y2="189.8" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="341.7" cy="190.0" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 300/с, успешно 298.4/с (повторы 298.4–298.8), p95 99 мс</title></circle>
<line class="l1" x1="388.0" x2="388.0" y1="166.7" y2="160.4" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="388.0" cy="160.4" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 350/с, успешно 348.1/с (повторы 337.6–348.1), p95 116 мс</title></circle>
<line class="l1" x1="434.3" x2="434.3" y1="134.8" y2="133.4" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="434.3" cy="134.0" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 400/с, успешно 392.4/с (повторы 391–393.4), p95 345 мс</title></circle>
<line class="l1" x1="480.6" x2="480.6" y1="103.0" y2="102.4" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="480.6" cy="102.9" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 450/с, успешно 444.6/с (повторы 444.4–445.4), p95 277 мс</title></circle>
<line class="l1" x1="526.9" x2="526.9" y1="108.9" y2="92.5" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="526.9" cy="98.2" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 500/с, успешно 452.4/с (повторы 434.4–461.9), p95 1455 мс</title></circle>
<text class="ink2" x="526.9" y="88.2" text-anchor="middle">max 452</text>
<line class="l1" x1="584" x2="602" y1="170" y2="170" stroke-width="2"/>
<text class="ink" x="608" y="174">3 × 1 CPU API, БД 0.5</text>
<text class="ink" x="608" y="188">CPU, запись function</text>
</svg>