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 Apex and Visualforce 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:
- Select File > Preferences > Settings (Windows or Linux) or Code > Preferences > Settings (macOS).
- 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 command with these metadata types:
- Apex Class
- Apex Trigger
- Visualforce Component
- Visualforce Page
- Lightning Components