Skip to content

Commit

Permalink
make local_clustering_coefficient benchmark actually useful again (#1618
Browse files Browse the repository at this point in the history
)

Co-authored-by: Ben Steer <[email protected]>
  • Loading branch information
ljeub-pometry and miratepuffin authored May 24, 2024
1 parent b4daff8 commit a18e596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raphtory-benchmark/benches/algobench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

1 comment on commit a18e596

@miratepuffin
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rust Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: a18e596 Previous: b4daff8 Ratio
local_clustering_coefficient/local_clustering_coefficient 102442 ns/iter (± 898) 9 ns/iter (± 0) 11382.44

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.