Performance Enhancements

Performance Enhancements

The changes we have made to enhance performance ensure that single file metadata deploys run through a more efficient code path. Currently, these changes only support a limited number of metadata types. We’ll add support for more metadata types in future releases.

NOTICE: The changes to enhance code performance are currently in beta. If you find any bugs or have feedback, open a GitHub issue.


To enable this beta feature:

  1. Select File > Preferences > Settings (Windows or Linux) or Code > Preferences > Settings (macOS).
  2. Under Salesforce Feature Previews, select Experimental: Deploy Retrieve.

In this beta release, performance enhancements are effective when you run the SFDX: Deploy This Source to Org and SFDX: Retrieve This Source from Org commands. At this time, the beta enhancements for SFDX: Retrieve This Source from Org work with only these metadata types:

  • Apex Class
  • Apex Trigger
  • Visualforce Component
  • Visualforce Page
  • Lightning Web Components
  • Aura Components

Feedback or Bugs | Edit this Article