summaryrefslogtreecommitdiff
path: root/subplot/benchmark.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'subplot/benchmark.yaml')
-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