openmct/e2e/test-data/memory-leak-detection.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

1 line
64 KiB
JSON
Raw Normal View History

Memory leak fixes for several views (#7057) * Change the mount utility to use Vue's createApp and defineComponent methods * Fix display layout memory leaks caused by `getSelectionContext` * fix some display layout leaks due to use of slots * Fix imagery memory leak (removed span tag). NOTE: CompassRose svg leaks memory - must test on firefox to see if this is a Chrome leak. * Fix ActionsAPI action collection and applicable actions leak. * Fix flexible layout memory leaks - remove listeners on unmount. NOTE: One type of overlay plot (Rover Yaw) is still leaking. * pass in the el on mount * e2e test config and spec changes * Remove mounting of limit lines. Use components directly * test: remove `.only()` * Fix display layout memory leaks * Enable passing tests * e2e README and appActions should be what master has. * lint: add word to cspell list * lint: fixes * lint:fix * fix: revert `el` change * fix: remove empty span * fix: creating shapes in displayLayout * fix: avoid `splice` as it loses reactivity * test: reduce timeout time * quick fixes * add prod mode and convert the test config to select the correct mode * Fix webpack prod config * Add launch flag for exposing window.gc * never worked * explicit naming * rename * We don't need to destroy view providers * test: increase timeout time * test: unskip all mem tests * fix(vue-loader): disable static hoisting * chore: run `test:perf:memory` * Don't destroy view providers * Move context menu once listener to beforeUnmount instead. * Disconnect all resize observers on unmount * Delete Test vue component * Use beforeUnmount and remove splice(0) in favor of [] for emptying arrays * re-structure * fix: unregister listener in pane.vue * test: tweak timeouts * chore: lint:fix * test: unskip perf tests * fix: unregister events properly * fix: unregister listener * fix: unregister listener * fix: unregister listener * fix: use `unmounted()` * fix: unregister listeners * fix: unregister listener properly * chore: lint:fix * test: fix imagery layer toggle test * test: increase timeout * Don't use anonymous functions for listeners * Destroy objects and event listeners properly * Delete config stores that are created by components * Use the right unmount hook. Destroy mounted view on unmount. * Use unmounted, not beforeUnmounted * Lint fixes * Fix time strip memory leak * Undo unneeded change for memory leaks. * chore: combine common webpack configs --------- Co-authored-by: Jesse Mazzella <jesse.d.mazzella@nasa.gov> Co-authored-by: John Hill <john.c.hill@nasa.gov>
2023-09-20 17:34:05 +00:00
{"openmct":{"40c410d9-ffd3-4f86-80b6-254155abad47":{"identifier":{"key":"40c410d9-ffd3-4f86-80b6-254155abad47","namespace":""},"name":"Memory Leak detection","type":"folder","composition":[{"key":"1a19731b-7611-4213-ab5b-e91d2aa64244","namespace":""},{"key":"215fc98f-7e43-4541-a39d-05b5d6e66568","namespace":""},{"key":"d37fdd1f-3371-46cb-9ce8-da0d09d6b2a6","namespace":""},{"key":"846a70a0-479e-4fba-af6e-cd2b7bd2495f","namespace":""},{"key":"3562385a-95b5-4658-9dda-721027d54392","namespace":""},{"key":"d803b99c-dbbd-423a-9162-edb551b14944","namespace":""},{"key":"bb3b5ba2-e5b8-440e-8556-32142f143940","namespace":""},{"key":"5a7d5cd9-187a-4552-b304-4fcce98c0581","namespace":""},{"key":"5a7c42c3-4097-4e5c-89c4-f3cffd1f6872","namespace":""},{"key":"853c42cc-b812-481e-9dd3-3206d57c25ff","namespace":""}],"modified":1686180997459,"location":"mine","created":1686172538912,"persisted":1686180997460},"1a19731b-7611-4213-ab5b-e91d2aa64244":{"identifier":{"key":"1a19731b-7611-4213-ab5b-e91d2aa64244","namespace":""},"name":"1hz-swg","type":"generator","telemetry":{"period":10,"amplitude":1,"offset":0,"dataRateInHz":1,"phase":0,"randomness":0,"loadDelay":0,"infinityValues":false,"staleness":false},"modified":1686175185687,"location":"40c410d9-ffd3-4f86-80b6-254155abad47","created":1686172550026,"persisted":1686175185687},"215fc98f-7e43-4541-a39d-05b5d6e66568":{"identifier":{"key":"215fc98f-7e43-4541-a39d-05b5d6e66568","namespace":""},"name":"overlay-plot-single-1hz-swg","type":"telemetry.plot.overlay","composition":[{"key":"1a19731b-7611-4213-ab5b-e91d2aa64244","namespace":""}],"configuration":{"series":[{"identifier":{"key":"1a19731b-7611-4213-ab5b-e91d2aa64244","namespace":""}}]},"modified":1686175116632,"location":"40c410d9-ffd3-4f86-80b6-254155abad47","created":1686175111102,"persisted":1686175116633},"d37fdd1f-3371-46cb-9ce8-da0d09d6b2a6":{"identifier":{"key":"d37fdd1f-3371-46cb-9ce8-da0d09d6b2a6","namespace":""},"name":"stacked-plot-single-1hz-swg","type":"telemetry.plot.stacked","composition":[{"key":"1a19731b-7611-4213-ab5b-e91d2aa64244","namespace":""}],"configuration":{"series":[],"yAxis":{},"xAxis":{}},"modified":1686175150618,"location":"40c410d9-ffd3-4f86-80b6-254155abad47","created":1686175142052,"persisted":1686175150618},"846a70a0-479e-4fba-af6e-cd2b7bd2495f":{"identifier":{"key":"846a70a0-479e-4fba-af6e-cd2b7bd2495f","namespace":""},"name":"lad-table-single-1hz-swg","type":"LadTable","composition":[{"key":"1a19731b-7611-4213-ab5b-e91d2aa64244","namespace":""}],"modified":1686175174753,"location":"40c410d9-ffd3-4f86-80b6-254155abad47","created":1686175170737,"persisted":1686175174753},"3562385a-95b5-4658-9dda-721027d54392":{"identifier":{"key":"3562385a-95b5-4658-9dda-721027d54392","namespace":""},"name":"telemetry-table-single-1hz-swg","type":"table","composition":[{"key":"1a19731b-7611-4213-ab5b-e91d2aa64244","namespace":""}],"configuration":{"columnWidths":{},"hiddenColumns":{},"columnOrder":[],"cellFormat":{},"autosize":true},"modified":1686175210572,"location":"40c410d9-ffd3-4f86-80b6-254155abad47","created":1686175204072,"persisted":1686175210572},"d803b99c-dbbd-423a-9162-edb551b14944":{"identifier":{"key":"d803b99c-dbbd-423a-9162-edb551b14944","namespace":""},"name":"lad-table-set-single-1hz-swg","type":"LadTableSet","composition":[{"key":"846a70a0-479e-4fba-af6e-cd2b7bd2495f","namespace":""}],"modified":1686176874262,"location":"40c410d9-ffd3-4f86-80b6-254155abad47","created":1686176867116,"persisted":1686176874262},"bb3b5ba2-e5b8-440e-8556-32142f143940":{"identifier":{"key":"bb3b5ba2-e5b8-440e-8556-32142f143940","namespace":""},"name":"notebook-memory-leak-detection-test","type":"notebook","configuration":{"defaultSort":"oldest","entries":{"551e1ce9-0263-416d-90b0-41beebc9d50d":{"f536da89-c2e8-4b7f-b25d-5ee7c8ac8df3":[{"id":"entry-5e9bda4c-93cd-4fe7-9c0a-5ce419187fa9","createdOn":1686176929016,"createdBy":null,"text":"First entry","embeds":[],"modifiedBy":"Unknown","modified":1686176934867},{"id":"entry-dc466597-2584-4ecd-9a78-038a60c6a2dd","createdOn":1686176935883,"createdBy":null,"text":"Second entry","emb