From d976ad8621dada66c92adc022af6d790b98ad2a4 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Thu, 18 May 2023 15:17:28 +0200 Subject: [PATCH] docs: add readme --- .gitignore | 2 ++ README.md | 22 ++++++++++++++++++++++ reports/.gitkeep | 0 3 files changed, 24 insertions(+) create mode 100644 README.md create mode 100644 reports/.gitkeep 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