forked from mtusi2026/mtusi2026lab3
38 lines
2.0 KiB
XML
38 lines
2.0 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1120" height="620" viewBox="0 0 1120 620">
|
|
<rect width="100%" height="100%" fill="#0e1013"/>
|
|
<style>
|
|
text { font-family: Inter, Segoe UI, sans-serif; fill: #eceef0; }
|
|
.title { font-size: 26px; font-weight: 650; }
|
|
.subtitle { font-size: 14px; fill: #aeb2b8; }
|
|
.label { font-size: 14px; fill: #c8cbd0; }
|
|
.small { font-size: 12px; fill: #a2a5aa; }
|
|
.grid { stroke: #34373d; stroke-width: 1; }
|
|
.axis { stroke: #747981; stroke-width: 1.5; }
|
|
.line { fill: none; stroke: #f4f5f6; stroke-width: 3; }
|
|
.line2 { fill: none; stroke: #92979f; stroke-width: 3; }
|
|
.point { fill: #f4f5f6; }
|
|
.point2 { fill: #92979f; }
|
|
.bar { fill: #d7d9dc; }
|
|
.bar2 { fill: #777c84; }
|
|
.bar3 { fill: #4c5057; }
|
|
.threshold { stroke: #8f949c; stroke-width: 2; stroke-dasharray: 7 5; }
|
|
</style>
|
|
<text x="50" y="44" class="title">Confirmed improvement</text>
|
|
<text x="50" y="70" class="subtitle">Four API replicas unchanged; only the PostgreSQL CPU limit changes from 1 to 2</text>
|
|
<text x="90" y="98" class="label">Successful RPS</text>
|
|
<rect x="125" y="248.4" width="120" height="211.6" rx="14" class="bar2"/>
|
|
<text x="185" y="238.4" text-anchor="middle" class="label">438.9</text>
|
|
<text x="185" y="488" text-anchor="middle" class="small">PG 1 CPU</text>
|
|
<rect x="310" y="176.7" width="120" height="283.3" rx="14" class="bar"/>
|
|
<text x="370" y="166.7" text-anchor="middle" class="label">587.6</text>
|
|
<text x="370" y="488" text-anchor="middle" class="small">PG 2 CPU</text>
|
|
<text x="630" y="98" class="label">p95 latency, ms</text>
|
|
<rect x="665" y="176.7" width="120" height="283.3" rx="14" class="bar2"/>
|
|
<text x="725" y="166.7" text-anchor="middle" class="label">109.4</text>
|
|
<text x="725" y="488" text-anchor="middle" class="small">PG 1 CPU</text>
|
|
<rect x="850" y="216.7" width="120" height="243.3" rx="14" class="bar"/>
|
|
<text x="910" y="206.7" text-anchor="middle" class="label">94.0</text>
|
|
<text x="910" y="488" text-anchor="middle" class="small">PG 2 CPU</text>
|
|
<text x="90" y="545" class="label">RPS change: +33.88% · p95 change: -14.12% · confirmed: true</text>
|
|
</svg>
|