Loading

Developer Console, Metadata API, or SFDX is slow

Дата публикации: Oct 13, 2022
Описание
There are several reasons why you can experience latency while developing code in Salesforce. You may notice slow response while trying to Save and Deploy Class or Component files while using SFDX or in Developer Console. We'll give you all the information you need to know on why you can experience the latency. 
Решение

Reason for operation latency

  • Unmanaged code: The Apex compiler compiles all dependencies upon saves. If there is a significant amount of code (say > 2MB), then this could result in very high compile times per each save/push to the platform.
  • Dequeue delay:  The operation of saving code form IDE tools like VS Code, SFDX, Developer console are always asynchronous for its current version. 
  • Large code base: Consider working with ANT build scripts. Take a look at the build.xml in the Cumulus CI.

Other Tools

Номер статьи базы знаний

000387835

 
Загрузка
Salesforce Help | Article