Files
podman/hack/perf/create.sh
Valentin Rothberg 8aa3776981 hack/perf: cleanup after benchmarks
To leave not leave some artifacts arounds.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-02-02 16:53:30 +01:00

13 lines
266 B
Bash
Executable File

#!/usr/bin/env sh
source ./helpers.bash
setup
echo_bold "Create $RUNS containers"
hyperfine --warmup 10 --runs $RUNS \
"$ENGINE_A create $IMAGE" \
"$ENGINE_B create $IMAGE"
# Clean up
$ENGINE_A system prune -f >> /dev/null
$ENGINE_B system prune -f >> /dev/null