summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-07-17 09:57:57 +0300
committerLars Wirzenius <liw@liw.fi>2015-07-17 09:57:57 +0300
commit7352034af02d9dcc03b701ae64ed1cd84376ebb8 (patch)
treeebca165e2e12b56c29f7cda25ccc65e41ac6ddcf
parent13f8e5f9b54860d84a4236e7e60b676116d5e16c (diff)
downloadobnam-benchmarks-7352034af02d9dcc03b701ae64ed1cd84376ebb8.tar.gz
Add a sample benchmark spec file
-rw-r--r--test.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/test.yaml b/test.yaml
new file mode 100644
index 0000000..b65ea67
--- /dev/null
+++ b/test.yaml
@@ -0,0 +1,20 @@
+git: /home/liw/obnam/obnam
+obnam_config:
+ repository-format: green-albatross
+benchmarks:
+ - name: empty_dir
+ description: backup an empty directory
+ steps:
+ - live: exit 0
+ obnam: backup
+ - obnam: restore
+ - name: many_files
+ description: backup many small files
+ steps:
+ - live: genbackupdata . --create=10 --file-size=1
+ obnam: backup
+ - obnam: restore
+ - obnam: backup
+reports_dir: /home/liw/obnam/benchmarks/reports
+html_dir: /home/liw/obnam/benchmarks/html
+state: /home/liw/obnam/benchmarks/state.yaml