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:
parent
62880503dd
commit
d8263a0677
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user