Skip to content

Commit dda6787

Browse files
jasnellgireeshpunathil
authored andcommitted
doc: Fixup some typos in using_gc_traces
PR-URL: #383 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Harshitha K P <[email protected]>
1 parent 0953cd2 commit dda6787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/memory/step3/using_gc_traces.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const { PerformanceObserver } = require('perf_hooks');
9191
const obs = new PerformanceObserver((list) => {
9292
const entry = list.getEntries()[0]
9393
/*
94-
The entry would be an instance of PerformanceEntry contains
94+
The entry would be an instance of PerformanceEntry containing
9595
metrics of garbage collection.
9696
For example:
9797
PerformanceEntry {
@@ -113,7 +113,7 @@ obs.disconnect();
113113

114114
### Examining a trace with performance hooks
115115

116-
You can get GC statistics as [PerformanceEnrty](https://nodejs.org/api/perf_hooks.html#perf_hooks_class_performanceentry) from the callback in [PerformanceObserver](https://nodejs.org/api/perf_hooks.html#perf_hooks_class_performanceobserver).
116+
You can get GC statistics as [PerformanceEntry](https://nodejs.org/api/perf_hooks.html#perf_hooks_class_performanceentry) from the callback in [PerformanceObserver](https://nodejs.org/api/perf_hooks.html#perf_hooks_class_performanceobserver).
117117

118118
For example:
119119

0 commit comments

Comments
 (0)