-
Notifications
You must be signed in to change notification settings - Fork 30k
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
doc: Add doc for performance.clearGC() #18331
Conversation
doc/api/perf_hooks.md
Outdated
@@ -37,6 +37,14 @@ added: REPLACEME | |||
Remove all performance entry objects with `entryType` equal to `name` from the | |||
Performance Timeline. | |||
|
|||
### performance.clearGC() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the nit, it seems this should go after performance.clearFunctions()
ABC-wise)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion, I moved it below performance.clearFunctions()
.
PR-URL: #18331 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Khaidi Chu <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
PR-URL: #18331 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Khaidi Chu <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
PR-URL: #18331 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Khaidi Chu <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
PR-URL: nodejs#18331 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Khaidi Chu <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
performance.clearGC
seems to have been available since the original implementation ofperf_hooks
but it was missing from the docs. This PR adds documentation for it.Open to wording changes if something could be improved.
Checklist
Affected core subsystem(s)
doc