From 770c4deb7182b17a5a2f35a7ebfc0f5ef0cae158 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 5 Apr 2021 18:20:59 +0200 Subject: [PATCH] profiling/ls.bash: add -nosyslog This makes sure we actually see the dirCache stats. --- profiling/ls.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiling/ls.bash b/profiling/ls.bash index 1183ff6..5f736b6 100755 --- a/profiling/ls.bash +++ b/profiling/ls.bash @@ -9,7 +9,7 @@ T=$(mktemp -d) mkdir $T/a $T/b ../gocryptfs -init -quiet -scryptn 10 -extpass "echo test" $T/a -../gocryptfs -quiet -extpass "echo test" $T/a $T/b +../gocryptfs -quiet -nosyslog -extpass "echo test" $T/a $T/b # Cleanup trap trap "cd /; fusermount -u -z $T/b; rm -Rf $T/a" EXIT @@ -24,7 +24,7 @@ echo "done, $SECONDS seconds" echo "Remount..." fusermount -u $T/b -../gocryptfs -quiet -extpass "echo test" -cpuprofile $T/cprof -memprofile $T/mprof \ +../gocryptfs -quiet -nosyslog -extpass "echo test" -cpuprofile $T/cprof -memprofile $T/mprof \ $T/a $T/b echo "Running ls under profiler (3x)..."