From ff7c55ecdab6300e82003f99020f44f45d0943d8 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 13 May 2023 21:24:41 +0200 Subject: fix benchmark --- benches/hittebench.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/hittebench.rs b/benches/hittebench.rs index 163fd1e..fefb07f 100644 --- a/benches/hittebench.rs +++ b/benches/hittebench.rs @@ -15,7 +15,7 @@ pub fn criterion_benchmark(c: &mut Criterion) { let data = vec![gpx::extract_from_str(BENCH_DATA).unwrap()]; c.bench_function("render_heatcounter", |b| { - b.iter(|| renderer::prepare::(19, &data, || Ok(()))); + b.iter(|| renderer::prepare(&heatmap::Renderer, 19, &data, || Ok(()))); }); } -- cgit v1.2.3