Skip to content

Add measurements for the clustering benchmark - #9

Merged
Piletskii-Oleg merged 5 commits into
Piletskii-Oleg:mainfrom
ArtemNikit1n:cluster-benchmark
Nov 28, 2025
Merged

Add measurements for the clustering benchmark#9
Piletskii-Oleg merged 5 commits into
Piletskii-Oleg:mainfrom
ArtemNikit1n:cluster-benchmark

Conversation

@ArtemNikit1n

Copy link
Copy Markdown

All information about clusterization:

  1. Total cluster size (number of vertices).
  2. Number of clusters (total number of parent vertices).
  3. The number of vertices within a single cluster.
  4. Distance to the parent vertex.
  5. Distance between clusters (between parent vertices).
  6. Deduplication coefficient for each cluster.

@Piletskii-Oleg Piletskii-Oleg left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

чутка поправить и норм

Comment thread src/system/scrub.rs Outdated
/// time spent on scrubbing,
/// and the amount of data left untouched.
#[derive(Debug, Default, PartialEq, Eq, Copy, Clone)]
/// the amount of data left untouched and clustering.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
/// the amount of data left untouched and clustering.
/// the amount of data left untouched and clustering information.

не совсем ясно что за кластеринг такой

Comment thread src/system/scrub.rs
}

#[derive(Debug, Default, PartialEq, Eq, Clone)]
pub struct ClusteringMeasurements {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

здесь надо все поля pub сделать, а то не достучишься до них извне

Comment thread src/system/scrub.rs
let mut distance_to_other_clusters = HashMap::new();
let mut parent_vertices: Vec<usize> = Vec::new();
let now = Instant::now();
let mut processed_data = 0;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
let mut processed_data = 0;
let mut processed_data = 0;

@Piletskii-Oleg

Copy link
Copy Markdown
Owner

CI не проходит @ArtemNikit1n

@Piletskii-Oleg
Piletskii-Oleg merged commit 27ae116 into Piletskii-Oleg:main Nov 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants