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

Remove stale mem_info function #114

Merged
merged 1 commit into from May 9, 2024

Conversation

Earlopain
Copy link
Contributor

This used to be at least occasionally updated in aebdc2e, in 7239fba it got removed

The user is required to call refresh themselves in order to not get stale results after first access.

Removing MemInfo may be a overkill? You probably use that at Shopify, I distinctly remember a graph about cow efficiency somewhere. Generally I'm unsure about the level of backwards compatibility you want to guarantee at this time.

@casperisfine
Copy link
Contributor

Yeah, this is a bit of a left-over from when the reforking heuristic was memory usage based.

Removing MemInfo may be a overkill? You probably use that at Shopify,

We don't we have our own implementation. But I think it doesn't cost much to include it, it's probably useful as a reference on how to correctly measure memory usage. So yeah, I'd keep it.

This used to be at least occasionally updated in Shopify@aebdc2e,
in Shopify@7239fba it got removed

The user is required to call refresh themselves in order to not get stale
results after first access
@casperisfine casperisfine merged commit f693b46 into Shopify:master May 9, 2024
8 checks passed
@Earlopain Earlopain deleted the stale-meminfo branch May 9, 2024 11:37
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.

None yet

2 participants