Skip to content

Commit f5e8030

Browse files
committed
Add analysis of last two runs
Signed-off-by: Antón Casas <antoncasas@eprosima.com>
1 parent 2add5ee commit f5e8030

1 file changed

Lines changed: 25 additions & 2 deletions

File tree

.github/workflows/performance.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ jobs:
5858
build/profiles_text.csv
5959
if-no-files-found: error
6060

61-
analyze-metrics:
62-
name: Analyze Metrics
61+
save-metrics-and-plots:
62+
name: Save Metrics and Generate Plots
6363
runs-on: ubuntu-24.04
6464
needs: performance
6565

@@ -208,3 +208,26 @@ jobs:
208208
echo "### Increase of .text memory by enabling profiles"
209209
echo "<img src=\"${BASE}/profiles_text_plot.svg${CB}\" alt=\"text\" width=\"720\"/>"
210210
} >> "$GITHUB_STEP_SUMMARY"
211+
212+
analyze-metrics:
213+
name: Analyze Metrics
214+
runs-on: ubuntu-24.04
215+
needs: save-metrics-and-plots
216+
217+
steps:
218+
- name: Checkout
219+
uses: actions/checkout@v5
220+
with:
221+
fetch-depth: 0
222+
ref: memory/performance
223+
224+
- name: Analyze results
225+
shell: bash
226+
run: |
227+
set -euo pipefail
228+
python3 ci/metrics/check_last_result.py --input ci/metrics/memory/complete_profile_timeseries.csv
229+
python3 ci/metrics/check_last_result.py --input ci/metrics/memory/core_profile_timeseries.csv
230+
python3 ci/metrics/check_last_result.py --input ci/metrics/memory/stack_timeseries.csv
231+
python3 ci/metrics/check_last_result.py --input ci/metrics/memory/profiles_bss_timeseries.csv
232+
python3 ci/metrics/check_last_result.py --input ci/metrics/memory/profiles_data_timeseries.csv
233+
python3 ci/metrics/check_last_result.py --input ci/metrics/memory/profiles_text_timeseries.csv

0 commit comments

Comments
 (0)