diff --git a/hack/perf/system-df.sh b/hack/perf/system-df.sh new file mode 100755 index 0000000000..f5f690c06c --- /dev/null +++ b/hack/perf/system-df.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env sh +source ./helpers.bash + +setup +echo_bold "List $NUM_CONTAINERS created containers" +create_containers +hyperfine --warmup 10 --runs $RUNS \ + "$ENGINE_A system df" \ + "$ENGINE_B system df" + +# Clean up +$ENGINE_A system prune -f >> /dev/null +$ENGINE_B system prune -f >> /dev/null