lfm25-hermes-tool-trace-analysis / visuals /group_sweep_memory_time.svg
sjakek's picture
Add visual analysis charts
cba1825 verified
<svg xmlns="http://www.w3.org/2000/svg" width="980" height="520" viewBox="0 0 980 520" role="img">
<rect width="100%" height="100%" fill="#ffffff"/>
<style>
.title { font: 700 22px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #1f2937; }
.subtitle { font: 400 13px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #6b7280; }
.label { font: 600 12px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #1f2937; }
.small { font: 400 11px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #6b7280; }
.axis { stroke: #e5e7eb; stroke-width: 1; }
.tick { font: 400 10px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #6b7280; }
.value { font: 700 11px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #1f2937; }
.node-title { font: 700 13px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #1f2937; }
.node-text { font: 400 11px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #6b7280; }
</style>
<text x="32" y="38" class="title">Group size sweep at 10K tokens</text><text x="32" y="60" class="subtitle">Larger simultaneous layer groups improve elapsed time, but group size 11 brushes the hard 60 GB limit.</text><line x1="72" y1="400.0" x2="892" y2="400.0" class="axis"/><text x="62" y="404.0" text-anchor="end" class="tick">0 GB</text><line x1="72" y1="325.0" x2="892" y2="325.0" class="axis"/><text x="62" y="329.0" text-anchor="end" class="tick">16 GB</text><line x1="72" y1="250.0" x2="892" y2="250.0" class="axis"/><text x="62" y="254.0" text-anchor="end" class="tick">32 GB</text><line x1="72" y1="175.0" x2="892" y2="175.0" class="axis"/><text x="62" y="179.0" text-anchor="end" class="tick">49 GB</text><line x1="72" y1="100.0" x2="892" y2="100.0" class="axis"/><text x="62" y="104.0" text-anchor="end" class="tick">65 GB</text><line x1="72" y1="100" x2="72" y2="400" stroke="#e5e7eb"/><line x1="892" y1="100" x2="892" y2="400" stroke="#e5e7eb"/><rect x="127.0" y="240.2" width="54" height="159.8" rx="4" fill="#2563eb" opacity="0.86"/><text x="154.0" y="232.2" text-anchor="middle" class="value">34.5</text><text x="154.0" y="428" text-anchor="middle" class="label">g1</text><rect x="291.0" y="237.0" width="54" height="163.0" rx="4" fill="#2563eb" opacity="0.86"/><text x="318.0" y="229.0" text-anchor="middle" class="value">35.2</text><text x="318.0" y="428" text-anchor="middle" class="label">g2</text><rect x="455.0" y="218.9" width="54" height="181.1" rx="4" fill="#2563eb" opacity="0.86"/><text x="482.0" y="210.9" text-anchor="middle" class="value">39.1</text><text x="482.0" y="428" text-anchor="middle" class="label">g4</text><rect x="619.0" y="170.8" width="54" height="229.2" rx="4" fill="#059669" opacity="0.86"/><text x="646.0" y="162.8" text-anchor="middle" class="value">49.5</text><text x="646.0" y="428" text-anchor="middle" class="label">g8</text><rect x="783.0" y="122.2" width="54" height="277.8" rx="4" fill="#2563eb" opacity="0.86"/><text x="810.0" y="114.2" text-anchor="middle" class="value">60.0</text><text x="810.0" y="428" text-anchor="middle" class="label">g11</text><path d="M 154.0 122.2 L 318.0 239.3 L 482.0 304.0 L 646.0 341.1 L 810.0 351.6" fill="none" stroke="#d97706" stroke-width="3"/><circle cx="154.0" cy="122.2" r="5" fill="#d97706"/><text x="154.0" y="110.2" text-anchor="middle" class="small">213s</text><circle cx="318.0" cy="239.3" r="5" fill="#d97706"/><text x="318.0" y="227.3" text-anchor="middle" class="small">123s</text><circle cx="482.0" cy="304.0" r="5" fill="#d97706"/><text x="482.0" y="292.0" text-anchor="middle" class="small">74s</text><circle cx="646.0" cy="341.1" r="5" fill="#d97706"/><text x="646.0" y="329.1" text-anchor="middle" class="small">45s</text><circle cx="810.0" cy="351.6" r="5" fill="#d97706"/><text x="810.0" y="339.6" text-anchor="middle" class="small">37s</text><line x1="72" y1="145.2" x2="892" y2="145.2" stroke="#059669" stroke-dasharray="6 5" stroke-width="2"/><line x1="72" y1="122.0" x2="892" y2="122.0" stroke="#dc2626" stroke-dasharray="6 5" stroke-width="2"/><text x="904" y="149.2" class="small">55 GB target</text><text x="904" y="126.0" class="small">60 GB hard stop</text><rect x="72" y="462" width="14" height="14" fill="#2563eb" opacity="0.86"/><text x="94" y="474" class="small">Peak memory, GB</text><circle cx="252" cy="469" r="5" fill="#d97706"/><text x="264" y="474" class="small">Elapsed seconds</text><rect x="404" y="462" width="14" height="14" fill="#059669" opacity="0.86"/><text x="426" y="474" class="small">Selected default group size</text>
</svg>