forked from mtusi2026/mtusi2026lab3
46 lines
2.8 KiB
XML
46 lines
2.8 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1100" height="560" viewBox="0 0 1100 560">
|
|
<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; }
|
|
.label { font-size: 14px; fill: #c8cbd0; }
|
|
.small { font-size: 12px; fill: #a2a5aa; }
|
|
.grid { stroke: #34373d; stroke-width: 1; }
|
|
.bar { fill: #cfd2d6; }
|
|
.bar2 { fill: #73777f; }
|
|
.line { fill: none; stroke: #f4f5f6; stroke-width: 3; }
|
|
.error { fill: #8f949c; stroke: #f4f5f6; stroke-width: 1; }
|
|
.event { stroke: #a2a5aa; stroke-width: 2; stroke-dasharray: 6 5; }
|
|
</style>
|
|
<text x="48" y="42" class="title">Grade 4: throughput and errors</text>
|
|
<line x1="80" y1="450.0" x2="1040" y2="450.0" class="grid"/>
|
|
<text x="68" y="454.0" text-anchor="end" class="small">0</text>
|
|
<line x1="80" y1="378.0" x2="1040" y2="378.0" class="grid"/>
|
|
<text x="68" y="382.0" text-anchor="end" class="small">75</text>
|
|
<line x1="80" y1="306.0" x2="1040" y2="306.0" class="grid"/>
|
|
<text x="68" y="310.0" text-anchor="end" class="small">151</text>
|
|
<line x1="80" y1="234.0" x2="1040" y2="234.0" class="grid"/>
|
|
<text x="68" y="238.0" text-anchor="end" class="small">226</text>
|
|
<line x1="80" y1="162.0" x2="1040" y2="162.0" class="grid"/>
|
|
<text x="68" y="166.0" text-anchor="end" class="small">302</text>
|
|
<line x1="80" y1="90.0" x2="1040" y2="90.0" class="grid"/>
|
|
<text x="68" y="94.0" text-anchor="end" class="small">377</text>
|
|
<rect x="140.0" y="144.9" width="120.0" height="305.1" rx="10" class="bar"/>
|
|
<text x="200.0" y="134.9" text-anchor="middle" class="label">319.5 RPS</text>
|
|
<text x="200.0" y="478" text-anchor="middle" class="label">baseline</text>
|
|
<text x="200.0" y="498" text-anchor="middle" class="small">errors 0.00%</text>
|
|
<rect x="380.0" y="162.5" width="120.0" height="287.5" rx="10" class="bar"/>
|
|
<text x="440.0" y="152.5" text-anchor="middle" class="label">301.0 RPS</text>
|
|
<text x="440.0" y="478" text-anchor="middle" class="label">failover-1</text>
|
|
<text x="440.0" y="498" text-anchor="middle" class="small">errors 0.02%</text>
|
|
<rect x="620.0" y="92.4" width="120.0" height="357.6" rx="10" class="bar"/>
|
|
<text x="680.0" y="82.4" text-anchor="middle" class="label">374.4 RPS</text>
|
|
<text x="680.0" y="478" text-anchor="middle" class="label">failover-2</text>
|
|
<text x="680.0" y="498" text-anchor="middle" class="small">errors 0.00%</text>
|
|
<rect x="860.0" y="90.0" width="120.0" height="360.0" rx="10" class="bar"/>
|
|
<text x="920.0" y="80.0" text-anchor="middle" class="label">377.0 RPS</text>
|
|
<text x="920.0" y="478" text-anchor="middle" class="label">rolling-update</text>
|
|
<text x="920.0" y="498" text-anchor="middle" class="small">errors 0.00%</text>
|
|
<text x="24" y="270.0" transform="rotate(-90 24 270.0)" class="label">Successful requests per second</text>
|
|
</svg>
|