Skip to content

Commit

Permalink
Scaling down perftest plot images, so that it is displayed entirely o…
Browse files Browse the repository at this point in the history
…n CDash, and added them to the build artifacts

Signed-off-by: Vedant <[email protected]>
  • Loading branch information
vrnimje committed Aug 15, 2024
1 parent f6e9b0b commit 40e38d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .jenkins/lsu-perftests/batch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ status_computation_and_artifacts_storage() {
# Copy the testing directory for saving as an artifact
cp -r ${build_dir}/Testing ${src_dir}/${configuration_name}-Testing
cp -r ${build_dir}/*.json ${src_dir}/${configuration_name}-reports
cp -r ${build_dir}/*.png ${src_dir}/${configuration_name}-reports

echo "${ctest_status}" > "jenkins-hpx-${configuration_name}-ctest-status.txt"

Expand Down
4 changes: 2 additions & 2 deletions tools/perftests_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def mean_statistic(sample1, sample2, axis=-1):

header_flag = True
n = ceil(len(json_obj1["outputs"]) / 2)
fig, ax = plt.subplots(n, 2, figsize=(25, 4 * n), sharey=False)
fig, ax = plt.subplots(n, 2, figsize=(16, 3 * n), sharey=False)
plt.subplots_adjust(hspace=0.3)
i = 0
for test1, test2 in zip(json_obj1["outputs"], json_obj2["outputs"]):
Expand Down Expand Up @@ -90,5 +90,5 @@ def mean_statistic(sample1, sample2, axis=-1):

plt.tight_layout()
[fig.delaxes(a) for a in ax.flatten() if not a.has_data()]
plt.savefig(sys.argv[3] + ".png")
plt.savefig(sys.argv[3] + ".png", dpi=150)

0 comments on commit 40e38d0

Please sign in to comment.