Skip to content

Add env var to disable disposable tracking#318672

Merged
roblourens merged 1 commit into
mainfrom
roblou/solid-tyrannosaurus
May 28, 2026
Merged

Add env var to disable disposable tracking#318672
roblourens merged 1 commit into
mainfrom
roblou/solid-tyrannosaurus

Conversation

@roblourens
Copy link
Copy Markdown
Member

For perf work

For perf work

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings May 28, 2026 02:45
@roblourens roblourens enabled auto-merge (squash) May 28, 2026 02:45
@roblourens roblourens self-assigned this May 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an opt-out env var (VSCODE_DEV_DISABLE_DISPOSABLE_TRACKING) to skip installing the GCBasedDisposableTracker in dev builds, to reduce overhead during performance work.

Changes:

  • Gate setDisposableTracker(new GCBasedDisposableTracker()) on the new env var.
  • Add a commented-out env entry to the "Launch VS Code Agents Internal" debug config as discoverability.
Show a summary per file
File Description
src/vs/workbench/contrib/performance/browser/performance.contribution.ts Imports env and adds env-var check to skip disposable tracker setup.
.vscode/launch.json Adds commented example of the new env var in one launch config.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

@roblourens roblourens merged commit 0dabf4a into main May 28, 2026
26 checks passed
@roblourens roblourens deleted the roblou/solid-tyrannosaurus branch May 28, 2026 03:28
@vs-code-engineering vs-code-engineering Bot added this to the 1.123.0 milestone May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants