diff options
author | Antony Tran <antonyt@gmail.com> | 2018-01-24 08:29:58 +0900 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-01-24 13:39:57 +0200 |
commit | d8263a067741c56f7bf8d4edc7031752c9b72793 (patch) | |
tree | ceb6a949af146001fd6bb40d08501b03a401d1f5 /doc/api/perf_hooks.md | |
parent | 62880503dd84c8850afa065bb61369433351bf24 (diff) | |
download | android-node-v8-d8263a067741c56f7bf8d4edc7031752c9b72793.tar.gz android-node-v8-d8263a067741c56f7bf8d4edc7031752c9b72793.tar.bz2 android-node-v8-d8263a067741c56f7bf8d4edc7031752c9b72793.zip |
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>
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 |