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

perf: add profiling to get_new_block #242

Merged
merged 3 commits into from
Jan 22, 2025
Merged

Conversation

stringhandler
Copy link
Contributor

@stringhandler stringhandler commented Jan 22, 2025

Add profiling logs to debug GRPC get_new_block performance. It can be commented out in log4rs config if needed.

Also removes a read/write lock on the base node client and removes an extra read lock when getting the target difficulty

@stringhandler stringhandler marked this pull request as ready for review January 22, 2025 12:56
@stringhandler stringhandler added this pull request to the merge queue Jan 22, 2025
Merged via the queue into development with commit 5ddc6d0 Jan 22, 2025
12 checks 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.

2 participants