diff options
Diffstat (limited to 'obnam-benchmark.md')
-rw-r--r-- | obnam-benchmark.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/obnam-benchmark.md b/obnam-benchmark.md index 4440b57..5fc3164 100644 --- a/obnam-benchmark.md +++ b/obnam-benchmark.md @@ -157,3 +157,36 @@ benchmarks: backups: - changes: [] ``` + + +## Benchmark with several backups + +_Requirement: The benchmark tool can benchmarks with more than one +backup._ + +We verify this by running a benchmark with three backup generations. + +~~~scenario +given an installed Rust program obnam-benchmark +given file three.yaml +when I run obnam-benchmark run three.yaml --output three.json +then file three.json is valid JSON +~~~ + +```{#three.yaml .yaml .file .numberLines} +benchmarks: +- benchmark: three + backups: + - changes: + - create: + files: 1 + file_size: 1024 + - changes: + - create: + files: 2 + file_size: 2048 + - changes: + - create: + files: 4 + file_size: 4096 +``` |