15 lines
2.7 KiB
XML
15 lines
2.7 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 720" role="img" aria-labelledby="title desc">
|
|
<title id="title">Последовательность сравнения frontend-сборки</title>
|
|
<desc id="desc">Схема ведёт от исходного fingerprint через одинаковую конфигурацию и cache state к замеру и разбору output.</desc>
|
|
<rect width="1200" height="720" fill="#f8fafc"/><style>text{font-family:Arial,sans-serif;fill:#172033}.head{font-size:31px;font-weight:700}.label{font-size:20px;font-weight:700}.body{font-size:16px}.box{fill:#fff;stroke:#3976a8;stroke-width:3}.good{fill:#edf8f1;stroke:#278456;stroke-width:3}.warn{fill:#fff0f0;stroke:#bd3f3f;stroke-width:3}.line{stroke:#5b7187;stroke-width:4;fill:none;marker-end:url(#a)}</style><defs><marker id="a" markerWidth="10" markerHeight="10" refX="9" refY="3" orient="auto"><path d="M0 0L0 6L9 3z" fill="#5b7187"/></marker></defs>
|
|
<text x="55" y="58" class="head">Сборка: сначала условия, затем секундомер</text>
|
|
<rect x="55" y="176" width="230" height="125" rx="12" class="box"/><text x="82" y="217" class="label">1. Input</text><text x="82" y="250" class="body">commit + lockfile</text><text x="82" y="276" class="body">entry fingerprint</text>
|
|
<rect x="355" y="176" width="230" height="125" rx="12" class="box"/><text x="383" y="217" class="label">2. Config</text><text x="383" y="250" class="body">mode + flags</text><text x="383" y="276" class="body">plugins + target</text>
|
|
<rect x="655" y="176" width="230" height="125" rx="12" class="box"/><text x="682" y="217" class="label">3. Cache</text><text x="682" y="250" class="body">cold/warm + key</text><text x="682" y="276" class="body">одинаковая директория</text>
|
|
<rect x="955" y="176" width="190" height="125" rx="12" class="good"/><text x="982" y="217" class="label">4. Замер</text><text x="982" y="250" class="body">duration</text><text x="982" y="276" class="body">output bytes</text>
|
|
<path d="M285 238H355M585 238H655M885 238H955" class="line"/>
|
|
<rect x="90" y="455" width="310" height="115" rx="12" class="warn"/><text x="118" y="496" class="label" fill="#991b1b">СТОП: fingerprint другой</text><text x="118" y="529" class="body" fill="#991b1b">не считать цифры одной серией</text>
|
|
<rect x="770" y="455" width="330" height="115" rx="12" class="good"/><text x="798" y="496" class="label" fill="#14532d">5. Output diff</text><text x="798" y="529" class="body" fill="#14532d">metafile, chunks, maps</text><text x="798" y="553" class="body" fill="#14532d">затем browser check</text>
|
|
<path d="M170 301V455M1045 301V455" class="line"/>
|
|
</svg>
|