Skip to content

feat: add more stats apis#1734

Merged
devsnek merged 1 commit intomainfrom
x/stats
Mar 11, 2025
Merged

feat: add more stats apis#1734
devsnek merged 1 commit intomainfrom
x/stats

Conversation

@devsnek
Copy link
Member

@devsnek devsnek commented Mar 7, 2025

  • implement gc epilogue callback
  • add heap space stats
  • clean up constants & associated types

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

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

LGTM - this should induce a minor version bump for the next release

/// garbage collection.
#[allow(clippy::not_unsafe_ptr_arg_deref)] // False positive.
#[inline(always)]
pub fn add_gc_epilogue_callback(
Copy link
Member

Choose a reason for hiding this comment

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

maybe add a test to exercise this API

@devsnek devsnek enabled auto-merge (squash) March 11, 2025 08:03
@devsnek devsnek merged commit cfb6f14 into main Mar 11, 2025
13 checks passed
@devsnek devsnek deleted the x/stats branch March 11, 2025 08:22
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