Skip to content

Lazy steady clock sampling within nano::stats#4269

Merged
clemahieu merged 3 commits intonanocurrency:developfrom
clemahieu:stats_lasy_time_sampling
Aug 31, 2023
Merged

Lazy steady clock sampling within nano::stats#4269
clemahieu merged 3 commits intonanocurrency:developfrom
clemahieu:stats_lasy_time_sampling

Conversation

@clemahieu
Copy link
Copy Markdown
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.
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.

2 participants