Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHIA-1087: log the rate at which blocks are added during long sync #18442

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Aug 11, 2024

Purpose:

By printing the sync rate, we makes it easier to optimize and speed-up long sync.

Current Behavior:

We log which blocks we add to the blockchain class.

New Behavior:

We also log the average rate of blocks added (of batches of ~100 blocks).

@arvidn arvidn changed the title log the rate at which blocks are added during long sync CHIA-1087: log the rate at which blocks are added during long sync Aug 11, 2024
@arvidn arvidn added the Changed Required label for PR that categorizes merge commit message as "Changed" for changelog label Aug 11, 2024
@arvidn arvidn marked this pull request as ready for review August 12, 2024 08:07
@arvidn arvidn requested a review from a team as a code owner August 12, 2024 08:07
@arvidn arvidn requested a review from almogdepaz August 12, 2024 08:30
Copy link
Contributor

@almogdepaz almogdepaz left a comment

Choose a reason for hiding this comment

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

lgtm

@arvidn arvidn requested a review from emlowe August 12, 2024 12:12
@Starttoaster Starttoaster merged commit da01437 into main Aug 14, 2024
374 of 375 checks passed
@Starttoaster Starttoaster deleted the log-sync-rate branch August 14, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changed Required label for PR that categorizes merge commit message as "Changed" for changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants