diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index 3f2cc506f3148a..2f2910af93db34 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() + + +Remove all performance entry objects with `entryType` equal to `gc` from the +Performance Timeline. + ### performance.clearMarks([name])