diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-05-13 21:24:41 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-05-13 21:24:41 +0200 |
commit | ff7c55ecdab6300e82003f99020f44f45d0943d8 (patch) | |
tree | d377429ec67c2602977a8a1ae593cdd0e6b26d03 /benches | |
parent | f2d6062ef6ca6819d598263c93254cf5f744810f (diff) | |
download | hittekaart-ff7c55ecdab6300e82003f99020f44f45d0943d8.tar.gz hittekaart-ff7c55ecdab6300e82003f99020f44f45d0943d8.tar.bz2 hittekaart-ff7c55ecdab6300e82003f99020f44f45d0943d8.zip |
fix benchmark
Diffstat (limited to 'benches')
-rw-r--r-- | benches/hittebench.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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::<heatmap::Renderer, _>(19, &data, || Ok(()))); + b.iter(|| renderer::prepare(&heatmap::Renderer, 19, &data, || Ok(()))); }); } |