diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-10 06:53:32 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-10 06:53:32 +0000 |
commit | 4ac63e5b0d908975847fc698cd8dcecd4d4b0569 (patch) | |
tree | fb979fb4cf4f8052c8cc66b1ec9516d91fcd859b /scripts/eigen_monitor_perf.sh | |
parent | 72bcb7722ab4e1a8b57ff4c474da04ebeecd0254 (diff) | |
parent | edb0ad5bb04b48aab7dd0978f0475edd3550de7c (diff) | |
download | eigen-4ac63e5b0d908975847fc698cd8dcecd4d4b0569.tar.gz |
Snap for 8564071 from edb0ad5bb04b48aab7dd0978f0475edd3550de7c to mainline-cellbroadcast-releaseaml_cbr_331910000aml_cbr_331810000aml_cbr_331710020aml_cbr_331610010aml_cbr_331510000aml_cbr_331411000aml_cbr_331310010aml_cbr_331111030aml_cbr_331013010aml_cbr_330911010aml_cbr_330810000android13-mainline-cellbroadcast-release
Change-Id: Ia95263c756e823d68c32190fe0aa6d9d10f3d474
Diffstat (limited to 'scripts/eigen_monitor_perf.sh')
-rwxr-xr-x | scripts/eigen_monitor_perf.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/eigen_monitor_perf.sh b/scripts/eigen_monitor_perf.sh new file mode 100755 index 000000000..8f3425daf --- /dev/null +++ b/scripts/eigen_monitor_perf.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +# This is a script example to automatically update and upload performance unit tests. +# The following five variables must be adjusted to match your settings. + +USER='ggael' +UPLOAD_DIR=perf_monitoring/ggaelmacbook26 +EIGEN_SOURCE_PATH=$HOME/Eigen/eigen +export PREFIX="haswell-fma" +export CXX_FLAGS="-mfma -w" + +#### + +BENCH_PATH=$EIGEN_SOURCE_PATH/bench/perf_monitoring/$PREFIX +PREVPATH=$(pwd) +cd $EIGEN_SOURCE_PATH/bench/perf_monitoring && ./runall.sh "Haswell 2.6GHz, FMA, Apple's clang" "$@" +cd $PREVPATH || exit 1 + +ALLFILES="$BENCH_PATH/*.png $BENCH_PATH/*.html $BENCH_PATH/index.html $BENCH_PATH/s1.js $BENCH_PATH/s2.js" + +# (the '/' at the end of path is very important, see rsync documentation) +rsync -az --no-p --delete $ALLFILES $USER@ssh.tuxfamily.org:eigen/eigen.tuxfamily.org-web/htdocs/$UPLOAD_DIR/ || { echo "upload failed"; exit 1; } + +# fix the perm +ssh $USER@ssh.tuxfamily.org "chmod -R g+w /home/eigen/eigen.tuxfamily.org-web/htdocs/perf_monitoring" || { echo "perm failed"; exit 1; } |