diff --git a/.gitignore b/.gitignore index 37bfa82..3a1c27e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /target .shuttle/ +!reports/.gitkeep +reports/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..6927dff --- /dev/null +++ b/README.md @@ -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 +``` diff --git a/reports/.gitkeep b/reports/.gitkeep new file mode 100644 index 0000000..e69de29