// readme

VSCode Memory Leak Finder

Find memory leaks in vscode to improve robustness and performance.

Large Performance Measure

See the large-benchmark package documentation for workflow usage, benchmark coverage, requirements, and local examples.

Quickstart

git clone git@github.com:SimonSiefke/vscode-memory-leak-finder.git &&
cd vscode-memory-leak-finder &&
npm ci &&
npm run e2e

Electron e2e tests

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.

Language-server processes

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…