aboutsummaryrefslogtreecommitdiff
path: root/benches
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-05-13 21:24:41 +0200
committerDaniel Schadt <kingdread@gmx.de>2023-05-13 21:24:41 +0200
commitff7c55ecdab6300e82003f99020f44f45d0943d8 (patch)
treed377429ec67c2602977a8a1ae593cdd0e6b26d03 /benches
parentf2d6062ef6ca6819d598263c93254cf5f744810f (diff)
downloadhittekaart-ff7c55ecdab6300e82003f99020f44f45d0943d8.tar.gz
hittekaart-ff7c55ecdab6300e82003f99020f44f45d0943d8.tar.bz2
hittekaart-ff7c55ecdab6300e82003f99020f44f45d0943d8.zip
fix benchmark
Diffstat (limited to 'benches')
-rw-r--r--benches/hittebench.rs2
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(())));
});
}