This commit is contained in:
Robert Jördens 2020-12-11 17:08:16 +01:00
parent a709ab171e
commit 5cd93d3318

View File

@ -2,9 +2,7 @@ use criterion::{black_box, criterion_group, criterion_main, Criterion};
use dsp::trig::cossin;
fn cossin_bench(c: &mut Criterion) {
c.bench_function("cossin(0)", |b| {
b.iter(|| cossin(black_box(0)))
});
c.bench_function("cossin(0)", |b| b.iter(|| cossin(black_box(0))));
}
criterion_group!(benches, cossin_bench);