mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: add doc for performance.clearGC()
PR-URL: https://github.com/nodejs/node/pull/18331 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This commit is contained in:
1 parent
e5f6159958
commit
224cc64d0c
1 file changed
+8
@@ -47,6 +47,14 @@ added: v8.5.0
|
||||
If `name` is not provided, removes all `PerformanceFunction` objects from the
|
||||
Performance Timeline. If `name` is provided, removes entries with `name`.
|
||||
|
||||
### performance.clearGC()
|
||||
<!-- YAML
|
||||
added: v8.5.0
|
||||
-->
|
||||
|
||||
Remove all performance entry objects with `entryType` equal to `gc` from the
|
||||
Performance Timeline.
|
||||
|
||||
### performance.clearMarks([name])
|
||||
<!-- YAML
|
||||
added: v8.5.0
|
||||
|
||||
Reference in new issue
Block a user