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

fix: support the optional previousValue parameter for process.cpuUsage() #28550

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

JakeChampion
Copy link
Contributor

@JakeChampion JakeChampion commented Mar 19, 2025

The process.cpuUsage method when called with a parameter, is meant to compute the diff between the current cpu-usage and the supplied cpu-usage values

This should make /tests/node_compat/test/pummel/test-process-cpuUsage.js begin to pass

@JakeChampion JakeChampion marked this pull request as ready for review March 19, 2025 14:23
@JakeChampion JakeChampion force-pushed the patch-2 branch 9 times, most recently from a4b01e1 to a23dd9e Compare March 19, 2025 16:31
…arameter correctly

Signed-off-by: Jake Champion <me@jakechampion.name>
JakeChampion and others added 3 commits March 19, 2025 16:42
…age()

The process.cpuUsage method when called with a parameter, will compute the diff between the current cpu-usage and the supplied cpu-usage values

Signed-off-by: Jake Champion <me@jakechampion.name>
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.

1 participant