summaryrefslogtreecommitdiff
path: root/subplot/benchmark.yaml
blob: 4be476559877036e1cc2d7f557dd9b6f8f05ba82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- given: an installed obnam-benchmark
  impl:
    rust:
      function: install_obnam_benchmark

- given: the benchmark system is set up
  impl:
    rust:
      function: set_up_benchmark
      cleanup: stop_benchmark

- then: benchmark "{name}" in {filename} lasted less than {ms:int} milliseconds
  impl:
    rust:
      function: benchmark_duration_less_than

- then: stdout, as JSON, matches {filename}
  impl:
    rust:
      function: stdout_matches_json
  type:
    filename: file