From 4730f6e0c9189c98691ce9a62d388ac6e215a88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 16 May 2021 20:38:05 +0100 Subject: [PATCH] add empty bench --- benches/bench.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/benches/bench.rs b/benches/bench.rs index 8b13789..554cfb7 100644 --- a/benches/bench.rs +++ b/benches/bench.rs @@ -1 +1,8 @@ +use criterion::{black_box, criterion_group, criterion_main, Criterion}; +pub fn criterion_benchmark(c: &mut Criterion) { + c.bench_function("ecc", |b| b.iter(|| true)); +} + +criterion_group!(benches, criterion_benchmark); +criterion_main!(benches);