@@ -126,37 +126,37 @@ jobs:
126126
127127 python3 ci/metrics/generate_plot.py \
128128 --input ci/metrics/memory/complete_profile_timeseries.csv \
129- --output plots/complete_profile_plot.png \
129+ --output plots/complete_profile_plot.svg \
130130 --title "Complete Profile" \
131131 --ylabel "Bytes" \
132132 --last "$LAST_N"
133133 python3 ci/metrics/generate_plot.py \
134134 --input ci/metrics/memory/core_profile_timeseries.csv \
135- --output plots/core_profile_plot.png \
135+ --output plots/core_profile_plot.svg \
136136 --title "Core Profile" \
137137 --ylabel "Bytes" \
138138 --last "$LAST_N"
139139 python3 ci/metrics/generate_plot.py \
140140 --input ci/metrics/memory/stack_timeseries.csv \
141- --output plots/stack_plot.png \
141+ --output plots/stack_plot.svg \
142142 --title "Simple App Stack Usage" \
143143 --ylabel "Bytes" \
144144 --last "$LAST_N"
145145 python3 ci/metrics/generate_plot.py \
146146 --input ci/metrics/memory/profiles_bss_timeseries.csv \
147- --output plots/profiles_bss_plot.png \
147+ --output plots/profiles_bss_plot.svg \
148148 --title "Increase of .bss memory by enabling profiles" \
149149 --ylabel "Bytes" \
150150 --last "$LAST_N"
151151 python3 ci/metrics/generate_plot.py \
152152 --input ci/metrics/memory/profiles_data_timeseries.csv \
153- --output plots/profiles_data_plot.png \
153+ --output plots/profiles_data_plot.svg \
154154 --title "Increase of .data memory by enabling profiles" \
155155 --ylabel "Bytes" \
156156 --last "$LAST_N"
157157 python3 ci/metrics/generate_plot.py \
158158 --input ci/metrics/memory/profiles_text_timeseries.csv \
159- --output plots/profiles_text_plot.png \
159+ --output plots/profiles_text_plot.svg \
160160 --title "Increase of .text memory by enabling profiles" \
161161 --ylabel "Bytes" \
162162 --last "$LAST_N"
@@ -165,36 +165,38 @@ jobs:
165165 uses : actions/upload-artifact@v4
166166 with :
167167 name : performance-plots
168- path : plots/*.png
168+ path : plots/*.svg
169169 if-no-files-found : warn
170170
171171 - name : Add plots to summary
172172 if : always()
173173 shell : bash
174174 run : |
175+ b64() { base64 --wrap=0 "$1" 2>/dev/null || base64 -w0 "$1"; }
176+ CPP=$(b64 plots/complete_profile_plot.svg)
175177 {
176178 echo "## 📊 Performance Metrics (last 52 runs)"
177179 echo
178- echo "The workflow triggering this run can be found [here](${{ github.event.workflow_run.html_url }}) ."
180+ echo "The workflow triggering this run can be found in the default branch ."
179181 echo "The python scripts and the data used to generate these plots can be found in the [memory/performance](${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/tree/memory/performance) branch."
180182 echo "The scripts and data can be modified without affecting develop nor master branches."
181183 echo "memory/performance branch is unprotected and can be pushed to in case any manual modifications are needed."
182184 echo
183185 echo "### Complete Profile"
184- echo ""
186+ echo ""
185187 echo
186188 echo "### Core Profile"
187- echo ""
189+ echo ""
188190 echo
189191 echo "### Simple App Stack Usage"
190- echo ""
192+ echo ""
191193 echo
192194 echo "### Increase of .bss memory by enabling profiles"
193- echo ""
195+ echo ""
194196 echo
195197 echo "### Increase of .data memory by enabling profiles"
196- echo ""
198+ echo ""
197199 echo
198200 echo "### Increase of .text memory by enabling profiles"
199- echo ""
201+ echo ""
200202 } >> "$GITHUB_STEP_SUMMARY"
0 commit comments