docs: add readme

This commit is contained in:
Kasper Juul Hermansen 2023-05-18 15:17:28 +02:00
parent e4474cfcda
commit d976ad8621
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
3 changed files with 24 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
/target
.shuttle/
!reports/.gitkeep
reports/

22
README.md Normal file
View File

@ -0,0 +1,22 @@
# Dagger Runtime Benchmark
This simple app illustrates the time to execution in a dagger context between:
1. Container build -> Run
1. Application Image pull -> Run
1. Wasm runtime pull -> Download wasm binary -> Run
1. Base image pull -> Download Binary -> Run
## Run
### With shuttle (Optional)
```bash
shuttle run bench
```
### With Cargo (Optional)
```bash
cargo run > reports/results.md
```

0
reports/.gitkeep Normal file
View File