From 43320f9025249f257047a31dbafa711048c1f697 Mon Sep 17 00:00:00 2001 From: Antony Tran Date: Wed, 24 Jan 2018 08:29:58 +0900 Subject: [PATCH 1/2] doc: Add doc for performance.clearGC() --- doc/api/perf_hooks.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index 3f2cc506f3148a..052ef330814304 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -37,6 +37,14 @@ added: REPLACEME Remove all performance entry objects with `entryType` equal to `name` from the Performance Timeline. +### performance.clearGC() + + +Remove all performance entry objects with `entryType` equal to `gc` from the +Performance Timeline. + ### performance.clearFunctions([name]) - -Remove all performance entry objects with `entryType` equal to `gc` from the -Performance Timeline. - ### performance.clearFunctions([name]) + +Remove all performance entry objects with `entryType` equal to `gc` from the +Performance Timeline. + ### performance.clearMarks([name])