summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--obnam-benchmark.md28
1 files changed, 16 insertions, 12 deletions
diff --git a/obnam-benchmark.md b/obnam-benchmark.md
index 80578c0..7403211 100644
--- a/obnam-benchmark.md
+++ b/obnam-benchmark.md
@@ -119,6 +119,7 @@ then stdout, as JSON, matches spec.json
```
```{#spec.yaml .yaml .file .numberLines}
+benchmarks:
- benchmark: foo
backups:
- change:
@@ -135,20 +136,23 @@ then stdout, as JSON, matches spec.json
```{#spec.json .yaml .file .numberLines}
{
- "benchmark": "foo",
- "backups": [
- [
- {
- "change": { "files": 1, "size": 1024 }
- },
- {
- "change": { "files": 2, "size": 2048 }
- },
- {
- "change": { "files": 3, "size": 3072 }
+ "benchmarks": [
+ {
+ "benchmark": "foo",
+ "backups": [
+ [
+ {
+ "change": { "files": 1, "size": 1024 }
+ },
+ {
+ "change": { "files": 2, "size": 2048 }
+ },
+ {
+ "change": { "files": 3, "size": 3072 }
+ }
+ ]
}
]
- ]
}
```