File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
integration/node-specific Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -144,8 +144,12 @@ export async function runScriptAndReturnHeapInfo(
144144
145145 log ( 'fetching messages 3: ' , ending ) ;
146146
147- const startingMemoryUsed = starting . value [ 0 ] . startingMemoryUsed ;
148- const endingMemoryUsed = ending . value [ 0 ] . endingMemoryUsed ;
147+ const {
148+ value : [ { startingMemoryUsed } ]
149+ } = starting ;
150+ const {
151+ value : [ { endingMemoryUsed } ]
152+ } = ending ;
149153
150154 const {
151155 value : [ { clientsInMemory } ]
Original file line number Diff line number Diff line change @@ -64,11 +64,6 @@ async function main() {
6464 process . send ( { clientsInMemory } ) ;
6565
6666 log ( 'clients instances in memory sent.' ) ;
67- // const start = now();
68- // v8.writeHeapSnapshot(`${name}.heapsnapshot.json`);
69- // const end = now();
70-
71- // log(`heap snapshot written in ${end - start}ms. script exiting`);
7267}
7368
7469main ( )
You can’t perform that action at this time.
0 commit comments