diff options
Diffstat (limited to 'doc/api/perf_hooks.md')
-rw-r--r-- | doc/api/perf_hooks.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index 3f2cc506f3..2f2910af93 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -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 |