@@ -45,17 +45,53 @@ jobs:
4545 run : |
4646 ./test/memory/memory_test.sh
4747
48+ - name : Upload artifacts
49+ uses : actions/upload-artifact@v4
50+ with :
51+ name : performance-results
52+ path : |
53+ build/complete_profile.csv
54+ build/core_profile.csv
55+ build/stack.csv
56+ build/profiles_bss.csv
57+ build/profiles_data.csv
58+ build/profiles_text.csv
59+ if-no-files-found : error
60+
61+ analyze-metrics :
62+ name : Analyze Metrics
63+ runs-on : ubuntu-24.04
64+ needs : performance
65+
66+ steps :
67+ - name : Download artifacts
68+ uses : actions/download-artifact@v4
69+ with :
70+ name : performance-results
71+ path : results
72+
73+ - name : List files
74+ shell : bash
75+ run : |
76+ ls -l results
77+
78+ - name : Checkout
79+ uses : actions/checkout@v5
80+ with :
81+ fetch-depth : 0
82+ ref : memory/performance
83+
4884 - name : Save results into memory
4985 shell : bash
5086 run : |
5187 set -euxo pipefail
5288
53- git config user.name "github-actions"
54- git config user.email "github-actions@github.com"
89+ # git config user.name "github-actions"
90+ # git config user.email "github-actions@github.com"
5591
5692 BR="memory/performance" # Use this branch to store performance results
57- git fetch origin "${BR}" || true
58- git checkout -B "${BR}"
93+ # git fetch origin "${BR}" || true
94+ # git checkout -B "${BR}"
5995
6096 python3 ci/metrics/save_results.py \
6197 --input build/complete_profile.csv \
@@ -121,15 +157,6 @@ jobs:
121157 print(f"Wrote {out_png}")
122158 PY
123159
124- - name : Upload artifacts
125- uses : actions/upload-artifact@v4
126- with :
127- name : performance-results
128- path : |
129- build/complete_profile.csv
130- build/complete_profile_last30.png
131- if-no-files-found : warn
132-
133160 - name : Add summary
134161 if : always()
135162 shell : bash
0 commit comments