From 5c062cba41754b5e0fa19c6fbac729f8304cbb97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 4 Nov 2019 13:48:03 +0100 Subject: [PATCH] add date logging --- benchmark/classic/benchmark.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/benchmark/classic/benchmark.sh b/benchmark/classic/benchmark.sh index 9cb104a..4721290 100644 --- a/benchmark/classic/benchmark.sh +++ b/benchmark/classic/benchmark.sh @@ -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