Uh oh!
There was an error while loading. Please reload this page.
perf_hooks: add property flags to GCPerformanceEntry - #29547
Conversation
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Nov 30, 2019
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Dec 6, 2019
Trott
commented
Dec 6, 2019
This could use more reviews. /cc @nodejs/performance |
addaleax
commented
Dec 6, 2019
This LGTM code-wise, but it doesn’t really seem to document what these flags indicate (although I guess the same is true for |
There was a problem hiding this comment.
If we are exposing this we at least need a note similar to the one in https://nodejs.org/api/v8.html#v8_v8_getheapspacestatistics
Neither the ordering of heap spaces, nor the availability of a heap space can be guaranteed as the statistics are provided via the V8 GetHeapSpaceStatistics function and may change from one V8 version to the next.
As compared to the GC kind the flags here seem to be even less stable.
This also lacks explanation and they are less self-explanatory compared to the gc kinds. I guess we could link to the v8 docs of GCCallbackFlags at least for reference.
There was a problem hiding this comment.
This flags provided via V8 GCCallbackFlags enum and may change from one V8 version to next.
Looks good for adding after constants list?
BridgeAR
commented
Jan 12, 2020
This needs a rebase. |
86b0aa0 to
36b01b7Comparefanatid
commented
Jan 12, 2020
Rebased. |
nodejs-github-bot
commented
Jan 12, 2020
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Jan 12, 2020
nodejs-github-bot
commented
Feb 2, 2020
nodejs-github-bot
commented
Feb 2, 2020
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Feb 3, 2020
jasnell
commented
Feb 3, 2020
Failure in CI does not appear relevant but kicked off a new CI just in case |
nodejs-github-bot
commented
Feb 3, 2020
nodejs-github-bot
commented
Feb 3, 2020
PR-URL: #29547 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
addaleax
commented
Feb 4, 2020
Landed in 018c3e8 |
PR-URL: #29547 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Notable changes: * async_hooks * add executionAsyncResource (Matteo Collina) #30959 * crypto * add crypto.diffieHellman (Tobias Nießen) #31178 * add DH support to generateKeyPair (Tobias Nießen) #31178 * simplify DH groups (Tobias Nießen) #31178 * add key type 'dh' (Tobias Nießen) #31178 * test * skip keygen tests on arm systems (Tobias Nießen) #31178 * perf_hooks * add property flags to GCPerformanceEntry (Kirill Fomichev) #29547 * process * report ArrayBuffer memory in `memoryUsage()` (Anna Henningsen) #31550 * readline * make tab size configurable (Ruben Bridgewater) #31318 * report * add support for Workers (Anna Henningsen) #31386 * worker * add ability to take heap snapshot from parent thread (Anna Henningsen) #31569 * added new collaborators * add ronag to collaborators (Robert Nagy) #31498 PR-URL: #31837
Notable changes: * async_hooks * add executionAsyncResource (Matteo Collina) #30959 * crypto * add crypto.diffieHellman (Tobias Nießen) #31178 * add DH support to generateKeyPair (Tobias Nießen) #31178 * simplify DH groups (Tobias Nießen) #31178 * add key type 'dh' (Tobias Nießen) #31178 * test * skip keygen tests on arm systems (Tobias Nießen) #31178 * perf_hooks * add property flags to GCPerformanceEntry (Kirill Fomichev) #29547 * process * report ArrayBuffer memory in `memoryUsage()` (Anna Henningsen) #31550 * readline * make tab size configurable (Ruben Bridgewater) #31318 * report * add support for Workers (Anna Henningsen) #31386 * worker * add ability to take heap snapshot from parent thread (Anna Henningsen) #31569 * added new collaborators * add ronag to collaborators (Robert Nagy) #31498 PR-URL: #31837
PR-URL: nodejs#29547 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
PR-URL: #29547 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesperf_hookshave kind for GC, but do not have flags