Skip to content

Commit

Permalink
docs: add run command benchmarks, Fix #10
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Di Maio <[email protected]>
  • Loading branch information
89luca89 committed Mar 11, 2024
1 parent 377526a commit 428c724
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,20 @@ sys 0m0.450s

```

```console
:~$ time (for i in {1..20}; do podman run --rm -ti alpine:latest whoami >/dev/null 2>/dev/null; done)

real 0m10.125s
user 0m2.606s
sys 0m1.744s
:~$ time (for i in {1..20}; do ./lilipod run --rm -ti alpine:latest whoami >/dev/null 2>/dev/null; done)

real 0m6.157s
user 0m3.545s
sys 0m2.613s

```

**It takes about 5~8ms to enter a container and execute stuff**

This obviously is a completely useless and arbitrary metric compared to the difference of utility of the two tools.
Expand Down

0 comments on commit 428c724

Please sign in to comment.