add date logging

This commit is contained in:
Torma Kristóf 2019-11-04 13:48:03 +01:00
parent 73eb21e850
commit 5c062cba41
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,7 @@ if [[ LOADTEST_INSTALLED == "" ]]; then
fi
echo -e "Benchmarking functions\n"
echo (date '+%Y-%m-%d %H-%M-%S') > date.txt
for function in "${functions[@]}"; do
function_friendly=$(echo $function | cut - -d'-' -f1)
echo -e "Benchmarking $function\n"
@ -115,3 +116,5 @@ for function in "${functions[@]}"; do
fi
echo -e "Finished at $datetime"
done
echo (date '+%Y-%m-%d %H-%M-%S') >> date.txt