Find memory leaks in VS Code
https://simonsiefke.github.io/vscode-memory-leak-finder/ β HEALTH ? 99 / Healthy
Find memory leaks in VS Code
https://simonsiefke.github.io/vscode-memory-leak-finder/ β// readme
Find memory leaks in vscode to improve robustness and performance.
See the large-benchmark package documentation
for workflow usage, benchmark coverage, requirements, and local examples.
git clone git@github.com:SimonSiefke/vscode-memory-leak-finder.git &&
cd vscode-memory-leak-finder &&
npm ci &&
npm run e2e
Measure a standalone Electron appβs main process, with a cached runtime and workspace:
npm run e2e:electron -- --only window-open-close --measure named-function-count3 --runs 5 --check-leaks
See Electron e2e documentation for cache behavior, process verification, results, and adding scenarios.
On Linux, --inspect-process can measure a Node child of the VS Code instance under test, including its JSON language server:
node packages/cli/bin/test.js --only json-hover --run-skipped-tests-anyway --inspect-processβ¦