From a18e5966a68c2a251ee7036dcf07063f454bf4aa Mon Sep 17 00:00:00 2001 From: ljeub-pometry <97447091+ljeub-pometry@users.noreply.github.com> Date: Fri, 24 May 2024 17:17:51 +0200 Subject: [PATCH] make local_clustering_coefficient benchmark actually useful again (#1618) Co-authored-by: Ben Steer --- raphtory-benchmark/benches/algobench.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raphtory-benchmark/benches/algobench.rs b/raphtory-benchmark/benches/algobench.rs index 8a20e14a94..2c23009d96 100644 --- a/raphtory-benchmark/benches/algobench.rs +++ b/raphtory-benchmark/benches/algobench.rs @@ -57,7 +57,7 @@ pub fn local_clustering_coefficient_analysis(c: &mut Criterion) { bench(&mut group, "local_clustering_coefficient", None, |b| { let g: Graph = raphtory::graph_loader::example::lotr_graph::lotr_graph(); - b.iter(|| local_clustering_coefficient(&g, 1)) + b.iter(|| local_clustering_coefficient(&g, "Gandalf")) }); group.finish();