From 4a5eda70fd6a71b012f59c3ea9168fb2643280f6 Mon Sep 17 00:00:00 2001 From: Gunnar Morling Date: Thu, 11 Jan 2024 09:31:36 +0100 Subject: [PATCH] Logging --- evaluate2.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/evaluate2.sh b/evaluate2.sh index a9e0339..04eebb6 100755 --- a/evaluate2.sh +++ b/evaluate2.sh @@ -149,6 +149,8 @@ for fork in "$@"; do timeout="" if [ -x "$(command -v gtimeout)" ]; then timeout="gtimeout -v $RUN_TIME_LIMIT" # from `brew install coreutils` + else + echo -e "${BOLD_YELLOW}WARNING${RESET} gtimeout not available, benchmark runs may take indefinitely long." fi hyperfine $HYPERFINE_OPTS "$timeout ./calculate_average_$fork.sh 2>&1" fi