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

Meter wasm memory usage #2187

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Meter wasm memory usage #2187

merged 1 commit into from
Jan 29, 2025

Conversation

coolreader18
Copy link
Collaborator

Description of Changes

Add a record_reducer_allocated_memory method to EnergyMonitor, and call it after every reducer run. The EnergyMonitor implementation can decide how much it wants to debounce the event.

Expected complexity level and risk

1

Testing

This just adds a new hook, but there's not yet an implementation of that hook to test.

@coolreader18 coolreader18 requested a review from jsdt January 28, 2025 21:14
@coolreader18 coolreader18 force-pushed the noa/wasm-memory-usage branch from 56f8ddd to 69946f8 Compare January 28, 2025 22:11
@coolreader18 coolreader18 force-pushed the noa/wasm-memory-usage branch from 69946f8 to 8af8e26 Compare January 28, 2025 22:12
@coolreader18 coolreader18 requested a review from jsdt January 28, 2025 22:12
@coolreader18 coolreader18 added this pull request to the merge queue Jan 29, 2025
Merged via the queue into master with commit 696fa45 Jan 29, 2025
12 of 13 checks passed
@coolreader18 coolreader18 deleted the noa/wasm-memory-usage branch February 11, 2025 02:52
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