-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
perf_hooks: add property flags to GCPerformanceEntry #29547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
ca67e58
f23b4ff
4b55aac
36b01b7
d5e1a8a
bce3cb6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -201,6 +201,25 @@ The value may be one of: | |
| * `perf_hooks.constants.NODE_PERFORMANCE_GC_INCREMENTAL` | ||
| * `perf_hooks.constants.NODE_PERFORMANCE_GC_WEAKCB` | ||
|
|
||
| ### performanceEntry.flags | ||
| <!-- YAML | ||
| added: REPLACEME | ||
| --> | ||
|
|
||
| * {number} | ||
|
|
||
| When `performanceEntry.entryType` is equal to `'gc'`, the `performance.flags` | ||
| property contain additional information about garbage collection operation. | ||
| The value may be one of: | ||
|
||
|
|
||
| * `perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_NO` | ||
| * `perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED` | ||
| * `perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_FORCED` | ||
| * `perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING` | ||
| * `perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE` | ||
| * `perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY` | ||
| * `perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE` | ||
|
|
||
| ## Class: `PerformanceNodeTiming extends PerformanceEntry` | ||
| <!-- YAML | ||
| added: v8.5.0 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.