mirror of
https://github.com/containers/podman
synced 2024-10-18 16:24:34 +00:00
1b0e64a103
The performance issue in #19467 drove me to add a benchmark for system-df to avoid regressing on it in the future. Comparing current HEAD to v4.6.0 yields ``` /home/vrothberg/containers/podman/bin/podman system df ran 201.47 times faster than /usr/bin/podman system df ``` Signed-off-by: Valentin Rothberg <vrothberg@redhat.com> |
||
---|---|---|
.. | ||
bz-2162111.sh | ||
create.sh | ||
helpers.bash | ||
ps.sh | ||
README.md | ||
rm.sh | ||
run.sh | ||
start.sh | ||
stop.sh | ||
system-df.sh |
A set of scripts to compare the performance of two container engines
Run the scripts via sudo sh $script.sh
.
WARNING: Running any script will run systemd prune
.
Use the following environment variables to change the default behavior:
ENGINE_A
to set container engine A (defaultpodman
)ENGINE_B
to set container engine B (defaultdocker
)RUNS
to change the runs/repetitions of each benchmarks (default100
)NUM_CONTAINERS
to change the number of created containers for some benchmarks (e.g.,ps
) (default100
)IMAGE
to change the default container image (defaultdocker.io/library/alpine:latest
)