add date logging
This commit is contained in:
parent
73eb21e850
commit
5c062cba41
@ -28,6 +28,7 @@ if [[ LOADTEST_INSTALLED == "" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "Benchmarking functions\n"
|
echo -e "Benchmarking functions\n"
|
||||||
|
echo (date '+%Y-%m-%d %H-%M-%S') > date.txt
|
||||||
for function in "${functions[@]}"; do
|
for function in "${functions[@]}"; do
|
||||||
function_friendly=$(echo $function | cut - -d'-' -f1)
|
function_friendly=$(echo $function | cut - -d'-' -f1)
|
||||||
echo -e "Benchmarking $function\n"
|
echo -e "Benchmarking $function\n"
|
||||||
@ -115,3 +116,5 @@ for function in "${functions[@]}"; do
|
|||||||
fi
|
fi
|
||||||
echo -e "Finished at $datetime"
|
echo -e "Finished at $datetime"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo (date '+%Y-%m-%d %H-%M-%S') >> date.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user