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

Lazy steady clock sampling within nano::stats #4269

Merged
merged 3 commits into from
Aug 31, 2023

Conversation

clemahieu
Copy link
Contributor

This delays obtaining a sample from steady_clock unless it is configured to be needed. Excessive sampling of the steady_clock has an impact on node performance so should only be done when needed.

…red to be needed. Excessive sampling of the steady_clock has an impact on node performance so should only be done when needed.
@clemahieu clemahieu merged commit 8ebea11 into nanocurrency:develop Aug 31, 2023
14 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged / V26.0
Development

Successfully merging this pull request may close these issues.

1 participant