summaryrefslogtreecommitdiff
path: root/subplot
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-12-04 12:43:34 +0200
committerLars Wirzenius <liw@liw.fi>2021-12-04 12:43:34 +0200
commit28c362b68983193b78beca014f41fdc63b9f5466 (patch)
tree960d0ecbe571f01b4dbe59b7c4a96514c1b53158 /subplot
parent684b96b132282a4723e9fa847746b13ee0900ecb (diff)
downloadobnam-benchmark-28c362b68983193b78beca014f41fdc63b9f5466.tar.gz
initial thing that runs
Sponsored-by: author
Diffstat (limited to 'subplot')
-rw-r--r--subplot/benchmark.yaml22
1 files changed, 2 insertions, 20 deletions
diff --git a/subplot/benchmark.yaml b/subplot/benchmark.yaml
index 2dc3647..079abd2 100644
--- a/subplot/benchmark.yaml
+++ b/subplot/benchmark.yaml
@@ -1,22 +1,4 @@
-- given: an installed obnam-benchmark
+- given: an installed Rust program 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
- types:
- filename: file
+ function: install_rust_program