Merge pull request #19710 from vrothberg/df-benchmarks

[CI:DOCS] hack/perf/system-df.sh: add `df` benchmarks
This commit is contained in:
OpenShift Merge Robot 2023-08-23 10:53:23 -02:30 committed by GitHub
commit f29986178e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

13
hack/perf/system-df.sh Executable file
View File

@ -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