Skip to content

Commit

Permalink
doc: add doc for performance.clearGC()
Browse files Browse the repository at this point in the history
PR-URL: #18331
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Khaidi Chu <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • Loading branch information
antonyt authored and evanlucas committed Jan 30, 2018
1 parent e5f6159 commit 224cc64
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 224cc64

Please sign in to comment.