Files
mtusi2026lab3/evidence/scaling/rps.svg
T

39 lines
2.3 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="640" height="360" font-family="sans-serif" font-size="12">
<rect width="100%" height="100%" fill="white"/>
<text x="60" y="22" font-size="14">RPS (медиана 3 прогонов) от числа API-реплик</text>
<line x1="60" x2="490" y1="310.0" y2="310.0" stroke="#ddd"/>
<text x="54" y="314.0" text-anchor="end">0</text>
<line x1="60" x2="490" y1="256.0" y2="256.0" stroke="#ddd"/>
<text x="54" y="260.0" text-anchor="end">234</text>
<line x1="60" x2="490" y1="202.0" y2="202.0" stroke="#ddd"/>
<text x="54" y="206.0" text-anchor="end">468</text>
<line x1="60" x2="490" y1="148.0" y2="148.0" stroke="#ddd"/>
<text x="54" y="152.0" text-anchor="end">702</text>
<line x1="60" x2="490" y1="94.0" y2="94.0" stroke="#ddd"/>
<text x="54" y="98.0" text-anchor="end">936</text>
<line x1="60" x2="490" y1="40.0" y2="40.0" stroke="#ddd"/>
<text x="54" y="44.0" text-anchor="end">1170</text>
<text x="60.0" y="328" text-anchor="middle">1</text>
<text x="275.0" y="328" text-anchor="middle">2</text>
<text x="490.0" y="328" text-anchor="middle">4</text>
<text x="275.0" y="348" text-anchor="middle">реплики</text>
<polyline fill="none" stroke="#2a6fdb" stroke-width="2" points="60.0,230.1 275.0,129.2 490.0,168.1"/>
<circle cx="60.0" cy="230.1" r="4" fill="#2a6fdb"/>
<text x="60.0" y="222.1" fill="#2a6fdb" text-anchor="middle">346</text>
<circle cx="275.0" cy="129.2" r="4" fill="#2a6fdb"/>
<text x="275.0" y="121.2" fill="#2a6fdb" text-anchor="middle">783</text>
<circle cx="490.0" cy="168.1" r="4" fill="#2a6fdb"/>
<text x="490.0" y="160.1" fill="#2a6fdb" text-anchor="middle">615</text>
<rect x="502" y="40" width="12" height="12" fill="#2a6fdb"/>
<text x="518" y="50">A: всего 1.0 CPU</text>
<polyline fill="none" stroke="#d9480f" stroke-width="2" points="60.0,214.5 275.0,129.2 490.0,76.0"/>
<circle cx="60.0" cy="214.5" r="4" fill="#d9480f"/>
<text x="60.0" y="196.5" fill="#d9480f" text-anchor="middle">413</text>
<circle cx="275.0" cy="129.2" r="4" fill="#d9480f"/>
<text x="275.0" y="111.2" fill="#d9480f" text-anchor="middle">783</text>
<circle cx="490.0" cy="76.0" r="4" fill="#d9480f"/>
<text x="490.0" y="58.0" fill="#d9480f" text-anchor="middle">1014</text>
<rect x="502" y="60" width="12" height="12" fill="#d9480f"/>
<text x="518" y="70">B: 0.5 CPU на реплику</text>
</svg>