We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5f6159 commit 224cc64Copy full SHA for 224cc64
doc/api/perf_hooks.md
@@ -47,6 +47,14 @@ added: v8.5.0
47
If `name` is not provided, removes all `PerformanceFunction` objects from the
48
Performance Timeline. If `name` is provided, removes entries with `name`.
49
50
+### performance.clearGC()
51
+<!-- YAML
52
+added: v8.5.0
53
+-->
54
+
55
+Remove all performance entry objects with `entryType` equal to `gc` from the
56
+Performance Timeline.
57
58
### performance.clearMarks([name])
59
<!-- YAML
60
added: v8.5.0
0 commit comments