change x scale for diagramm

This commit is contained in:
jpaul 2023-11-21 16:46:49 +01:00
parent a81a3e972c
commit 26b4de649b
3 changed files with 6 additions and 99 deletions

35
dist/cleanup/index.js generated vendored
View File

@ -74523,37 +74523,6 @@ function createPRComparison(dataRecent, dataBase) {
#### Image Details
<table>
<thead>
<tr>
<th align="left">Category</th>
<th align="right">Recent ${recentBranch}</th>
<th align="right">Branch ${baseBranch}</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"><a href="${DOCS_BASE}#glossary-code-area" target="_blank">Code area</a></td>
<td align="right">${bytesToHuman(detailsRecent.code_area.bytes)} (${toPercent(detailsRecent.code_area.bytes, detailsRecent.total_bytes)})</td>
<td align="right">${bytesToHuman(detailsBase.code_area.bytes)} (${toPercent(detailsBase.code_area.bytes, detailsBase.total_bytes)})</td>
</tr>
<tr>
<td align="left"><a href="${DOCS_BASE}#glossary-image-heap" target="_blank">Image heap</a></td>
<td align="right">${bytesToHuman(detailsRecent.image_heap.bytes)} (${toPercent(detailsRecent.image_heap.bytes, detailsRecent.total_bytes)})</td>
<td align="right">${bytesToHuman(detailsBase.image_heap.bytes)} (${toPercent(detailsBase.image_heap.bytes, detailsBase.total_bytes)})</td>
<tr>
<td align="left"><a href="${DOCS_BASE}#glossary-other-data" target="_blank">Other data</a></td>
<td align="right">${bytesToHuman(otherBytesRecent)} (${toPercent(otherBytesRecent, detailsRecent.total_bytes)})</td>
<td align="right">${bytesToHuman(otherBytesBase)} (${toPercent(otherBytesBase, detailsBase.total_bytes)})</td>
</tr>
<tr>
<td align="left">Total</td>
<td align="right"><strong>${bytesToHuman(detailsRecent.total_bytes)} (100.000%)</td>
<td align="right"><strong>${bytesToHuman(detailsBase.total_bytes)} (100.000%)</td>
</tr>
</tbody>
</table>
\`\`\`mermaid
gantt
title Native Image Size Details
@ -74574,8 +74543,8 @@ gantt
${baseBranch} (${bytesToHuman(otherBytesBase)}): 0, ${otherBytesBase}
section Total
${recentBranch} (${bytesToHuman(detailsRecent.total_bytes)}) : active, 0, ${detailsRecent.total_bytes}
${baseBranch} (${bytesToHuman(detailsBase.total_bytes)}) : 0, ${detailsBase.total_bytes}
${recentBranch} (${bytesToHuman(detailsRecent.total_bytes)}) : active, 0, ${detailsRecent.total_bytes / 1000000}
${baseBranch} (${bytesToHuman(detailsBase.total_bytes)}) : 0, ${(detailsBase.total_bytes / 1000000)}
\`\`\`
<em>Report generated by <a href="https://github.com/marketplace/actions/github-action-for-graalvm" target="_blank">setup-graalvm</a>.</em>`;

35
dist/main/index.js generated vendored
View File

@ -74622,37 +74622,6 @@ function createPRComparison(dataRecent, dataBase) {
#### Image Details
<table>
<thead>
<tr>
<th align="left">Category</th>
<th align="right">Recent ${recentBranch}</th>
<th align="right">Branch ${baseBranch}</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"><a href="${DOCS_BASE}#glossary-code-area" target="_blank">Code area</a></td>
<td align="right">${bytesToHuman(detailsRecent.code_area.bytes)} (${toPercent(detailsRecent.code_area.bytes, detailsRecent.total_bytes)})</td>
<td align="right">${bytesToHuman(detailsBase.code_area.bytes)} (${toPercent(detailsBase.code_area.bytes, detailsBase.total_bytes)})</td>
</tr>
<tr>
<td align="left"><a href="${DOCS_BASE}#glossary-image-heap" target="_blank">Image heap</a></td>
<td align="right">${bytesToHuman(detailsRecent.image_heap.bytes)} (${toPercent(detailsRecent.image_heap.bytes, detailsRecent.total_bytes)})</td>
<td align="right">${bytesToHuman(detailsBase.image_heap.bytes)} (${toPercent(detailsBase.image_heap.bytes, detailsBase.total_bytes)})</td>
<tr>
<td align="left"><a href="${DOCS_BASE}#glossary-other-data" target="_blank">Other data</a></td>
<td align="right">${bytesToHuman(otherBytesRecent)} (${toPercent(otherBytesRecent, detailsRecent.total_bytes)})</td>
<td align="right">${bytesToHuman(otherBytesBase)} (${toPercent(otherBytesBase, detailsBase.total_bytes)})</td>
</tr>
<tr>
<td align="left">Total</td>
<td align="right"><strong>${bytesToHuman(detailsRecent.total_bytes)} (100.000%)</td>
<td align="right"><strong>${bytesToHuman(detailsBase.total_bytes)} (100.000%)</td>
</tr>
</tbody>
</table>
\`\`\`mermaid
gantt
title Native Image Size Details
@ -74673,8 +74642,8 @@ gantt
${baseBranch} (${bytesToHuman(otherBytesBase)}): 0, ${otherBytesBase}
section Total
${recentBranch} (${bytesToHuman(detailsRecent.total_bytes)}) : active, 0, ${detailsRecent.total_bytes}
${baseBranch} (${bytesToHuman(detailsBase.total_bytes)}) : 0, ${detailsBase.total_bytes}
${recentBranch} (${bytesToHuman(detailsRecent.total_bytes)}) : active, 0, ${detailsRecent.total_bytes / 1000000}
${baseBranch} (${bytesToHuman(detailsBase.total_bytes)}) : 0, ${(detailsBase.total_bytes / 1000000)}
\`\`\`
<em>Report generated by <a href="https://github.com/marketplace/actions/github-action-for-graalvm" target="_blank">setup-graalvm</a>.</em>`;

View File

@ -203,37 +203,6 @@ function createPRComparison(dataRecent: BuildOutput, dataBase: BuildOutput): str
#### Image Details
<table>
<thead>
<tr>
<th align="left">Category</th>
<th align="right">Recent ${recentBranch}</th>
<th align="right">Branch ${baseBranch}</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"><a href="${DOCS_BASE}#glossary-code-area" target="_blank">Code area</a></td>
<td align="right">${bytesToHuman(detailsRecent.code_area.bytes)} (${toPercent(detailsRecent.code_area.bytes, detailsRecent.total_bytes)})</td>
<td align="right">${bytesToHuman(detailsBase.code_area.bytes)} (${toPercent(detailsBase.code_area.bytes, detailsBase.total_bytes)})</td>
</tr>
<tr>
<td align="left"><a href="${DOCS_BASE}#glossary-image-heap" target="_blank">Image heap</a></td>
<td align="right">${bytesToHuman(detailsRecent.image_heap.bytes)} (${toPercent(detailsRecent.image_heap.bytes, detailsRecent.total_bytes)})</td>
<td align="right">${bytesToHuman(detailsBase.image_heap.bytes)} (${toPercent(detailsBase.image_heap.bytes, detailsBase.total_bytes)})</td>
<tr>
<td align="left"><a href="${DOCS_BASE}#glossary-other-data" target="_blank">Other data</a></td>
<td align="right">${bytesToHuman(otherBytesRecent)} (${toPercent(otherBytesRecent, detailsRecent.total_bytes)})</td>
<td align="right">${bytesToHuman(otherBytesBase)} (${toPercent(otherBytesBase, detailsBase.total_bytes)})</td>
</tr>
<tr>
<td align="left">Total</td>
<td align="right"><strong>${bytesToHuman(detailsRecent.total_bytes)} (100.000%)</td>
<td align="right"><strong>${bytesToHuman(detailsBase.total_bytes)} (100.000%)</td>
</tr>
</tbody>
</table>
\`\`\`mermaid
gantt
title Native Image Size Details
@ -254,8 +223,8 @@ gantt
${baseBranch} (${bytesToHuman(otherBytesBase)}): 0, ${otherBytesBase}
section Total
${recentBranch} (${bytesToHuman(detailsRecent.total_bytes)}) : active, 0, ${detailsRecent.total_bytes}
${baseBranch} (${bytesToHuman(detailsBase.total_bytes)}) : 0, ${detailsBase.total_bytes}
${recentBranch} (${bytesToHuman(detailsRecent.total_bytes)}) : active, 0, ${detailsRecent.total_bytes / 1000000}
${baseBranch} (${bytesToHuman(detailsBase.total_bytes)}) : 0, ${(detailsBase.total_bytes / 1000000)}
\`\`\`
<em>Report generated by <a href="https://github.com/marketplace/actions/github-action-for-graalvm" target="_blank">setup-graalvm</a>.</em>`